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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I ran this command: sudo certbot certonly --webroot -w ~/smart_city/smart_city -d urbatis.net
It produced this output: IMPORTANT NOTES:
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/urbatis.net/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/urbatis.net/privkey.pem
Your cert will expire on 2019-08-26. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew all of your certificates, run
“certbot renew”
If you like Certbot, please consider supporting our work by:
Thank you for your reply! It’s the problem. But I retried by “sudo certbot --apache” and to reinstall this existing certificate so I don’t need to write configuration file. This time the message is :Congratulations! You have successfully enabled https://urbatis.net
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/urbatis.net-0001/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/urbatis.net-0001/privkey.pem
Your cert will expire on 2019-08-26. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the “certonly” option. To non-interactively renew all of
your certificates, run “certbot renew”
If you like Certbot, please consider supporting our work by:
Content of /etc/apache2/sites-enabled/000-default-le-ssl.conf :
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
ServerName urbatis.net
Include /etc/letsencrypt/options-ssl-apache.conf
ServerAlias www.urbatis.net
SSLCertificateFile /etc/letsencrypt/live/www.urbatis.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.urbatis.net/privkey.pem
</VirtualHost>
</IfModule>
https internal doesn’t work, it tells “Failed to connect to 217.182.139.143 port 443: Connection refused” and “Failed to connect to urbatis.net port 443: Connection refused”
It doesn’t work internal, which is still “Failed to connect to 217.182.139.143 port 443: Connection refused” and “Failed to connect to urbatis.net port 443: Connection refused”