SSL\TLS
Hi All,
I would like to know if it is possible to configure in cloudflare that according to the port of the user's visit to the website he will receive a different certificate.
For example :
A user accesses my site on port 80 so he will get SSL Certificate 1
If a user accesses my site on port 443 then he will get SSL Certificate 2
Thanks!!
1 Reply
Cloudflare's Certificate selection logic is here: https://developers.cloudflare.com/ssl/reference/certificate-and-hostname-priority/
It doesn't care about ports when selecting, you wouldn't want to use port 80 with encrypted https anyway, nor does the normal proxy support that, there is specific ports which are http and https: https://developers.cloudflare.com/fundamentals/reference/network-ports/
Cloudflare Docs
Certificate and hostname priority · Cloudflare SSL/TLS docs
Learn about how Cloudflare decides which certificate (and the associated SSL/TLS settings) apply to individual hostnames.
Cloudflare Docs
Network ports · Cloudflare Fundamentals docs
Learn which network ports Cloudflare proxies by default and how to enable Cloudflare’s proxy for additional ports.