Update for passphrase support

Patch for certificate with passphrase