SSL Not working with apache and cloudflare


I have Create SSL certificate using “Let’s Encrypt” in Ubantu 18.10 .i follow below documentation to create SSL certificate.

I have check SSL certificate was successfully created I have used below command to test it.

openssl verify chain.pem
openssl verify -CAfile chain.pem cert.pem

But Site not working getting 525 error.In Cloudflare ""Universal SSL is Active "

Yes I have configure apache server cofig file

SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/

I have also check below command to view certificate

openssl s_client -connect -servername


depth=2 C = IE, O = Baltimore, OU = CyberTrust, CN = Baltimore CyberTrust Root
verify return:1
depth=1 C = US, ST = CA, L = San Francisco, O = “Cloudflare, Inc.”, CN = Cloudflare Inc ECC CA-2
verify return:1
depth=0 C = US, ST = CA, L = San Francisco, O = “Cloudflare, Inc.”, CN =

##verify return:1

Anyone please suggest possible solution to fix this Issue?


Running the command you did only connects against Cloudflare and wont show your certificate. The connect parameter needs to point towards the origin, not the hostname.

I have fix problem . there is port Issue. i just change port (446) in apache config file and its working fine.


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