My domain is: admin.comunicazioneperpersonaltrainer.it
I ran this command: /usr/local/bin/certbot-auto --apache
It produced this output:
-
The following errors were reported by the server:
Domain: admin.comunicazioneperpersonaltrainer.it
Type: connection
Detail: During secondary validation: Fetching
http://admin.comunicazioneperpersonaltrainer.it/.well-known/acme-challenge/3Rwv8dkK4Eq01w5wn_QFgMoFhlslcot1_Vpr3uax5hM:
Timeout during connect (likely firewall problem)To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version): Httpd
The operating system my web server runs on is (include version): Centos 7
My hosting provider, if applicable, is: register.it
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): 1.4.0
I attach also my config files
<VirtualHost *:80>
ServerAdmin developers@comunicazioneperpersonaltrainer.it
ServerName admin.comunicazioneperpersonaltrainer.it
RewriteEngine on
RewriteCond %{SERVER_NAME} =admin.comunicazioneperpersonaltrainer.it
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ProxyPreserveHost On
ProxyRequests On
ProxyPass /.well-known/acme-challenge !
ProxyPass / http://localhost:5002/
ProxyPassReverse / http://localhost:5002/
Alias "/.well-known/acme-challenge/" "/var/www/html/letsencrypt/.well-known/acme-challenge/"
ErrorLog /var/log/httpd/apache/admin.error.log
LogLevel warn
CustomLog /var/log/httpd/apache/admin.access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerAdmin developers@comunicazioneperpersonaltrainer.it
ServerName admin.comunicazioneperpersonaltrainer.it
ProxyPreserveHost On
ProxyRequests On
ProxyPass /.well-known/acme-challenge !
ProxyPass / http://localhost:5002/
ProxyPassReverse / http://localhost:5002/
Alias "/.well-known/acme-challenge/" "/var/www/html/letsencrypt/.well-known/acme-challenge/"
DocumentRoot /var/www/html
ErrorLog /var/log/httpd/apache/admin-ssl.error.log
LogLevel warn
CustomLog /var/log/httpd/apache/admin-ssl.access.log combined
SSLCertificateFile /etc/letsencrypt/live/admin.comunicazioneperpersonaltrainer.it/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/admin.comunicazioneperpersonaltrainer.it/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/admin.comunicazioneperpersonaltrainer.it/chain.pem
</VirtualHost>