How to configure cloudflare cert and key file for ssl?

I have downloaded the key and cert file from Cloudflare for origin ca certificate.
now in my httpd folder there is a file ssl.conf, in that file there are two lines
1 SSLCertificateFile /etc/pki/tls/certs/localhost.crt
2 SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
should i put Cloudflare.crt and cloudfflare.key in
/etc/pki/tls/certs/Cloudflare.crt
and
/etc/pki/tls/private/Cloudflare.key
and change the path in ssl.conf
Would it be ok?

The files generally will work anywhere as long as your web server’s configuration file points to the correct location, so your solution should work.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.