Advanced SSL - Assign certificate to DNS entries

Hello,
I’ve generated 2 Advanced SSL certificates for my domain (let say it’s test[dot]com):

  • test[dot]com *[dot]test[dot]com
  • test[dot]com staging[dot]test[dot]com *[dot]staging[dot]test[dot]com

My issue is that the second certificate is automatically used for test.com, but I’d like to keep staging’s certificate dedicated to staging so the staging URL is not shown on the certificate details of the root.

Thanks
Julien

So in the case where multiple certs of the same type (e.g. Advanced SSL Certificates) exist and the hostname matches, the most recently deployed one will win:

https://developers.cloudflare.com/ssl/ssl-tls/certificate-and-hostname-priority

Cloudflare deploys the most recent certificate in case two certificates of the same type and hostname exist.

So if you’re seeing your staging cert take priority for the apex - if you remove/re-order your other cert, it should take priority for you.

Many thanks Simon !

1 Like

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