Yunohost let's encrypt certbot manual certificate process
User Guide — Certbot 1.30.0 documentation
Needed to manually get a cerificate.
`` Needed to manually get a cerificate, as opposet to ‘get and install automatically’. `
sudo certbot certonly --manual -d *.my.domain
- It gave me a TXT record to add to DNS records
- It gave me this link to check if adding the record worked
- I could prolly copy them to yunohost or something, but it wouldn’t be managed by it
The reason I’m doing this is weird DNS configuration.
Let’s try getting around it: Certificate | Yunohost Documentation
yunohost domain cert-install your.domain.tld --self-signed --force
if the certificate installation still doesn’t work, you can disable the checks with
--no-checks
after the cert-install command.
Oh nice! Let’s try with non self-signed:
admin@me:~$ sudo yunohost domain cert install sub.do.main --no-checks
Works! Even if the web interface complains of DNS issues, this works as long as it’s actually accessible from outside - say, with one of the 220924-2043 Options to access a host from behind NAT and firewall or something.
Adding domains through CLI is also much faster than using the GUI:
admin@me:~$ sudo yunohost domain add my.domain.another.one
And the certificate bit accepts lists of domains. Okay!
admin@me:~$ sudo yunohost domain add b.my.doma.in && sudo yunohost domain add g.my.doma.in && sudo yunohost domain add n.my.doma.in
admin@me:~$ sudo yunohost domain cert install n.my.doma.in b.my.doma.in g.my.doma.in --no-checks
- Except that I don’t see the added domains in the web interface :(
- And no adding through the web interface doesn’t work anymore.
- BUT after I added a domain