tmp_rsa callback has been removed from OpenSSL 1.1 Use new X509_NAME accessor function to retrieve DER bytes