Difference between revisions of "SSL certs via ClouDNS"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
= Step 3 : Make the cert useable = | = Step 3 : Make the cert useable = | ||
(This is where it's gonna get interesting...) | (This is where it's gonna get interesting...) | ||
The certs are available as either an XML or a JSON payload... | |||
Attempt #1: Manually extract the key & the fullchain cert set into separate files. Seems to work... | |||
Attempt #2: Write a script or actual program to extract these... | |||
= Step 4 : put the cert into a useful place = | = Step 4 : put the cert into a useful place = |
Revision as of 16:45, 12 August 2023
Since moving my external DNS to ClouDNS, they have added a VERY useful service. The time has come to put it to use!
Important Notes
- This service is only available if your account is Premium M or better
- You will need to enable an API user
- (do that here')
- These certs are wildcard certs for the whole domain
Step 1 : Create the cert
In your ClouDNS dashboard, select DNS Hosting, then select the domain you want to add SSL to.
Then click the Free SSL button.
Select your preferred authority, hit the "Activate Free SSL" button & then wait for it.
(In this example, I've used the "Let's Encrypt" option. May look into "ZeroSSL" later...)
Step 2 : Download the cert
Download the cert via their API:
curl "https://api.cloudns.net/dns/freessl-get.xml?auth-id=AUTHID&auth-password=PASSWORD&domain-name=DOMAIN"
Step 3 : Make the cert useable
(This is where it's gonna get interesting...)
The certs are available as either an XML or a JSON payload...
Attempt #1: Manually extract the key & the fullchain cert set into separate files. Seems to work...
Attempt #2: Write a script or actual program to extract these...