Using a PEM file with a different header

Niraj Gupta shared this question 4 years ago

When trying to use a PEM file for an SSL connection, always get an error that "----BEGIN CERTIFICATE----" is missing. However, -----BEGIN RSA PRIVATE KEY----- is also a valid header, and should be allowed.

Replies (1)


The -----BEGIN RSA PRIVATE KEY----- section is OK, but the "----BEGIN CERTIFICATE----" section of your PEM file is missing. It's Your Primary SSL certificate, it's required.

Please refer to

Leave a Comment
Attach a file