Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
rpiben.ddns.net
I ran this command:
$sudo certbot --apache
everything looking ok
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
The new certificate covers the following domains: https://rpiben.ddns.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IMPORTANT NOTES:
- Congratulations!
Your certificate and chain have been saved at:
/etc/letsencrypt/live/rpiben.ddns.net/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/rpiben.ddns.net/privkey.pem
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=rpiben.ddns.net
It produced this output:
Certificate name mismatch - We were able to retrieve a certificate for this site, but the domain names listed in it do not match the domain name you requested us to inspect
My web server is (include version):
apache 2.48
The operating system my web server runs on is (include version):
Debian10
My hosting provider, if applicable, is:
Noip ddns.net
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):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 0.31.0
Hello,
I have a python app (piapp.py) sending a basic "hello world' message via WSGI (piapp.wsgi) to the apache server to test the installation.
After running ok certbot, my /etc/apache2/sites-available/piapp.conf file looks like this
----
WSGIApplicationGroup &{GLOBAL}
WSGIProcessGroup piapp
WSGIDaemonProcess piapp user=pi group=www-data threads=5
<VirtualHost *:80>
ServerName rpiben.ddns.net
WSGIScriptAlias /piapp /var/www/piapp/piapp.wsgi
<Directory /var/www/piapp>
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =rpiben.ddns.net
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:443>
ServerName rpiben.ddns.net
WSGIScriptAlias /piapp /var/www/piapp/piapp.wsgi
<Directory /var/www/piapp>
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/rpiben.ddns.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/rpiben.ddns.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
Access locally via the server IP address 192.168.1.34/piapp working ok
Access from internet (e.g. Android GSM)
https://rpiben.ddns.net/piapp not ok (see message below)
http://rpiben.ddns.net/piapp used to be ok but since I renewed the certificate with redirect from http to https it does not work anymore
NET::ERR_CERT_AUTHORITY_INVALID
Any help much appreciated.
Benoit.