My domain is:
eg1.duckdns.org, *.eg1.duckdns.org, eg2.duckdns.org, *.eg2.duckdns.org
I ran this command:
sudo certbot certonly --manual -d eg1.duckdns.org -d *.eg1.duckdns.org -d eg2.duckdns.org -d *.eg2.georgenad.duckdns.org --manual-public-ip-logging-ok --preferred-challenges dns --email "eg@me.com" --csr ./csr.pem --agree-tos –-dry-run
It produced this output:
…
Performing the following challenges:
dns-01 challenge for eg1.duckdns.org
dns-01 challenge for eg1.duckdns.org
dns-01 challenge for eg2.duckdns.org
dns-01 challenge for eg2.duckdns.org
…
My web server is (include version):
Nginx 1.18.0
The operating system my web server runs on is (include version):
Ubuntu 20.04 (arm64)
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no - http get request
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.40.0
I created the csr.pem with:
sudo openssl req -new -config openssl.cnf -key ec.key -out csr.pem
contents of openssl.cnf:
[ req ]
prompt = no
encrypt_key = no
default_md = sha512
distinguished_name = dname
req_extensions = reqext
[ dname ]
CN = eg1.duckdns.org
emailAddress = eg@me.com
[ reqext ]
subjectAltName = DNS:eg1.duckdns.org, DNS:*.eg1.duckdns.org, DNS:eg2.duckdns.org, `DNS:*.eg2.duckdns.org`
This method used to only create 2 DNS challenges one for each domain, which is fine i can update the txt record for each domain name. I cant update two separate records for each domain so I’m guessing something has changed as I’ve made (and am currently using) a few certificates generated this way in the past few months.
I wonder if anyone can shed any light on what I’m now doing wrong? I’m far from a professional, I stumbled upon this method by trial and error before.
Thanks in advance