> 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.
If you have both equivelent IPv4 to origin and IPv6 to origin, IPv4 to origin saves 4 bytes per packet of overhead. (Remember, the internet runs on layer 2 packets of 1500 bytes, after layer 2 overhead)
If you want IPv6 to origin (EG to bypass NAT), then you can still tell it do to that by setting a proxied AAAA and deleting the A.
I think most people who use Cloudflare ought to be using Cloudflare Tunnel to make the connection to the origin server, instead of just proxied DNS. That won’t work for everyone, but it should be presented as the default. Doing so would solve the underlying concerns here and allow a lot of firewalls to remain closed.
Comments (100) 31 threads
Earlier commentsCloudflare 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.
If you want IPv6 to origin (EG to bypass NAT), then you can still tell it do to that by setting a proxied AAAA and deleting the A.
All comments shown.
Couldn't load more comments. Check your connection and try again.