Allow initializing with private key and certificate