Hello guys,
i’ve got a problem with importing or generating LE certs into my prosody.
My xmpp server is (include version): prosody 10.2
The operating system my web server runs on is (include version): raspbian stretch
My hosting provider, if applicable, is: selfhosted with dyndns from nbiserv.de
I ran this command: sudo /opt/certbot/certbot-auto certonly --standalone --rsa-key-size 4096 -d domain.de -d upload.domain.de -d conference.domain.de
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for conference.domain.de
http-01 challenge for domain.de
http-01 challenge for upload.domain.de
Waiting for verification…
Cleaning up challenges
IMPORTANT NOTES:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/domain.de/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/domain.de/privkey.pem
Your cert will expire on 2019-01-23.
Then I ran this command: sudo prosodyctl --root cert import /etc/letsencrypt/live
It produced this output:
No certificate for host conference.domain.de found
No certificate for host upload.domain.de found
No certificate for host localhost found
Imported certificate and key for hosts domain.de
How can i check if there is really no cert for the subdomain?
In the folder /etc/letsencrypt/live is ony one folder: domain.de
It looks like you are running 3 separate hosts and have only 1 cert (with the three names on them).
Perhaps you need to issue the certs individually - my best guess.