How to switch from let's encrypt universal edge ssl to DigiCert?

Cloudflare switched the Digicert one to Let’s encrypt.
How to switch back? Digicert expires in 1 year, let’s encrypt in 3 months.

Thanks.

You can use the undocumented certificate_authority field of the Cloudflare API v4 Documentation call and switch the authority yourself.

curl -X PATCH "https://api.cloudflare.com/client/v4/zones/[zone_id]/ssl/universal/settings" \
     -H "Content-Type: application/json" \
     -H "X-Auth-Email: [YOUR-EMAIL-ADDRESS]" \
     -H "X-Auth-Key: [YOUR-GLOBAL-API-KEY]" \
     --data '{"certificate_authority": "digicert"}'
2 Likes

How can I make a api call?

There’s an example right there and the link has all the other details as well.

I’ve read the documentation. But I don’t understand what program I should use to make an api call.
I’m not technically proficient in these kind of things

You can use any HTTP client which can send such a request. For example cURL.

But generally speaking, you probably don’t even need to switch the certificate. Let’s Encrypt works just fine.

Brilliant, thanks!

{
“result”: {
“enabled”: true,
“certificate_authority”: “digicert”
},
“success”: true,
“errors”: ,
“messages”:
}

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