问题
I was going through this tutorial where mentioned the process of "Installing CloudFlare Origin CA on cPanel".
Everything was fine, except "Append CloudFlare's Root Certificate".
I had received .pem key from Cloudflare Support where mentioned as well "you will need to append the appropriate root below to your .pem file."
I have CloudFlare Origin CA — RSA Root.
I need help on Italic part. How to just append?. Please elaborate with description, it will help others too.
回答1:
You literally just need to to the file; at the very end, with a line break after the last certificate.
-----BEGIN CERTIFICATE-----
(Your Origin CA certificate)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(CloudFlare's Root certificate)
-----END CERTIFICATE-----
This will form an SSL Certificate Trust Chain whereby the certificate can be validated with CloudFlare's Root Certificate. You can then use this certificate with your webserver to utilise Full (Strict) SSL mode in CloudFlare.
来源:https://stackoverflow.com/questions/39205161/how-to-append-ssl-origin-certificate-with-cloudflares-root-certificate