Use PositiveSSL with Netlify via Namecheap

I have downloaded my ssl files for my site from PositiveSSL via Namecheap. This yields three files: site.crt, site.ca-bundle, and site.p7b. I try to use these files in the HTTPS section of Domain Management of the Netlify UI, with .crt as the PEM formatted certificate, .p7b as private key, and .ca-bundle as certificate chain.

The crt files begin with -----BEGIN CERTIFICATE----- and the .p7b file begins with -----BEGIN PKCS7-----. I get the error “certificate is not a valid PEM certificate”.

What do I need to do to correct this?

Edit: Solved. I was using pkcs7 file as the key file. pkcs7 is actually an alternate encoding for the certificate file(s). My key file begins with -----BEGIN RSA PRIVATE KEY-----

hey there,

this thread will probably be helpful:

Thank you @perry . That issue is as of yet unresolved, but I’ll give it a go over there.

Thanks for the edit in your OP!

Edit: Solved. I was using pkcs7 file as the key file. pkcs7 is actually an alternate encoding for the certificate file(s). My key file begins with -----BEGIN RSA PRIVATE KEY-----

1 Like