How can I use a Cloudflare certificate as main certificate?

Hi all,

I am using Cloudflare as my DNS provider and I have created hestia.example.com
I want to use the Cloudflare SSL certificate, but I can’t add it because I get the error “Error: Certificate Authority not found”

I don’t have the option to add the CA Certificate in the global settings. To try to work that around I’ve installed it via the command line

cd /etc/ssl/certs
wget https://developers.cloudflare.com/ssl/static/origin_ca_rsa_root.pem
openssl x509 -noout -hash -in origin_ca_rsa_root.pem

Can somebody tell me what I am missing?

Thanks in advance!

On Debian, I have always installed custom root CAs in /usr/local/share/ca-certificates and then run sudo update-ca-certificates.

hi hestia package uses nginx as there webserver so you need to add cert and intermediate ca chains in one file.

you can us e this site to compose the chains :

enter the main cert there and hit the button compose

1 Like

Or just cat leaf.pem intermediate.pem > chain.pem if you prefer to use the shell.

1 Like

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