> Cloudflare can generate a certificate to connect to the origin server, you should use that.
You should generate origin server cert yourself and not let Cloudflare touch that private key. This is anyway beside their point that I as a user can't know how it looks between Cloudflare and your origin.
> > > Cloudflare can generate a certificate to connect to the origin server, you should use that.
> You should generate origin server cert yourself and not let Cloudflare touch that private key. What difference does key ownership make in this scenario? Cloudflare is encrypting the plain text to send to you, because they terminate the end user TLS session themselves.
That comment is wrong. For full end to end encryption you must use the cert from CF on your local server. Kinda goes without saying but it is also pointless but it is the best practice I would say.
Another way to serve HTTP is to run it over CF Tunnels. Since everything is unencrypted (HTTP) but Tunnel is encrypted you shouldn't be hesitated about certificates.
Cloudflare’s mechanisms for securing the origin connection are, at least historically, massively overcomplicated and horrendously poorly documented. Maybe it’s better now.
Even with a tunnel, there is still very little clarity as to what the various JWT options do or what the considerations are.
Comments (108) 34 threads
Show all comments
Showing thread 5 of 34
Cloudflare can generate a certificate to connect to the origin server, you should use that.
You should generate origin server cert yourself and not let Cloudflare touch that private key.
This is anyway beside their point that I as a user can't know how it looks between Cloudflare and your origin.
> You should generate origin server cert yourself and not let Cloudflare touch that private key.
What difference does key ownership make in this scenario? Cloudflare is encrypting the plain text to send to you, because they terminate the end user TLS session themselves.
Even with a tunnel, there is still very little clarity as to what the various JWT options do or what the considerations are.