Add support for handling OpenSSL PEM certificates