Certbot SSL cert using CF Proxy

I have a VPS on AWS that I would like to get an SSL cert for. Normally I would add an A record in Cloudflare, change the proxy setting to DNS only and run certbot on my VPS. But this time, I would like to use Cloudflare Proxy. How do I go about creating an SSL cert with certbot with my A record on proxy.

certbot 1.9.0
Ubuntu 2004


Welcome to the Let's Encrypt Community :slightly_smiling_face:

Keep in mind that when you are using a Cloudflare reverse proxy, your visitors will be served the Cloudflare certificate and not the certificate residing on your VPS. You really want to be using a "Cloudflare Origin CA" certificate instead of a Let's Encrypt certificate that encrypts the traffic between Cloudflare and your VPS.


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