Hello, after following tutorial to issue a wildcard certificate with Certbot, I have set my NGinx reverse proxy to use this wildcard certificate.
When I try to reach one website (the only one by the time), I get a warning, with a red message telling me "certificate name does not match input".
I guess I have made a mistake somewhere but I am really noew to the subject, and don't want to make more mistake.
I have read a previous thread here on a similar issue but I am not confident and not sure I have the same issue.
My domain is: ictge.ch
I ran this command:
sudo certbot certonly
--authenticator certbot-dns-infomaniak:dns-infomaniak
--certbot-dns-infomaniak:dns-infomaniak-credentials SSLconfig/credentials.ini
--server https://acme-v02.api.letsencrypt.org/directory
--agree-tos
--rsa-key-size 4096
-d 'ictge.ch'
everything goes well in creating the certificate. I followed the certbot docs here:
https://eff-certbot.readthedocs.io/en/stable/using.html#dns-plugins
And I actually host the domain with Infomaniak, so I had to follow the certbot-dns-infomaniak plugin's documentation here:
My web server is (include version): NGinx as reverse proxy v. 1.18.0
The operating system my web server runs on is (include version):
uname -a
Linux srvnginx 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux
My hosting provider, if applicable, is: Infomaniak
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot --version
certbot 1.27.0
When I am trying to reach the website (matt.ictge.ch), I get this warning (issued by Kaspersky but I guess it would be issue by anything). Note that everything work if I don't use SSL (but it's not the best practice).
Result of certbot certificates command (in any case)
Found the following certs:
Certificate Name: ictge.ch
Serial Number: 345ca88a28f6c2139eba44c4e469a7b8b53
Key Type: RSA
Domains: ictge.ch
Expiry Date: 2022-08-16 15:25:11+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/ictge.ch/fullchain.pem
Private Key Path: /etc/letsencrypt/live/ictge.ch/privkey.pem
I don't know which certbot commands or any other tools could help me to understand and correct my issue. So if someone can bring me the light in my darkness, it would be really appreciate
Thanks