I ran https://github.com/StefH/OpenSSL-X509Certificate2-Provider#code-example-3---create-a-x509-certificate-and-add-private-key on a key file without RSA in the header or footer and ran into an error: "The server mode SSL must use a certificate with the associated private key."
Changing the header and footer to BEGIN RSA PRIVATE KEY and END RSA PRIVATE KEY worked, but I'm not sure why considering this library appears to support both forms https://github.com/StefH/OpenSSL-X509Certificate2-Provider/search?q=begin+private+key&unscoped_q=begin+private+key
I ran https://github.com/StefH/OpenSSL-X509Certificate2-Provider#code-example-3---create-a-x509-certificate-and-add-private-key on a key file without
RSAin the header or footer and ran into an error: "The server mode SSL must use a certificate with the associated private key."Changing the header and footer to
BEGIN RSA PRIVATE KEYandEND RSA PRIVATE KEYworked, but I'm not sure why considering this library appears to support both forms https://github.com/StefH/OpenSSL-X509Certificate2-Provider/search?q=begin+private+key&unscoped_q=begin+private+key