Log exception; throw error if loading private key and/or certificate failed