- Run Certbot:
sudo certbot certonly --manual --server https://acme-v02.api.letsencrypt.org/directory
- Enter Domains, e. g.
domain.tld,*.domain.tld
.
- Add
_acme-challenge
DNS record.
- Upload
.well-known/acme-challenge
file to website:
---
layout: null
permalink: /.well-known/acme-challenge/XXXXXXXXXXXXXXX/index.html
---
XXXXXXXXXXXXXXX.XXXXXXXXXXXXXXX-XXXXXXXXXXXXXXX
- Check that DNS record and website file exist:
host -t TXT _acme-challenge.domain.tld
curl -L domain.tld/.well-known/acme-challenge/XXXXXXXXXXXXXXX
- Copy-paste the certificate, private key and chain into the Cloudcannon interface:
sudo cat /etc/letsencrypt/live/domain.tld/cert.pem
sudo openssl rsa -inform pem -in /etc/letsencrypt/live/domain.tld/privkey.pem -outform pem
sudo cat /etc/letsencrypt/live/domain.tld/chain.pem