Convert if-else chain to switch statement to improve code readability.
Add more comments.
Add macro WithCertificateKeyPassPhrase, in place of the hardcoded private
key password.
Always set the private key passphrase callback, if one's needed but
not provided during test setup, OpenSSL will prompt the user.