i successfully created a certificate with certbot for my apache virtual host. But when i open the domain in my browser i only got a error.
I got the following messages when i created the certificate:
root@zerlpa:/etc/apache2/sites-enabled# sudo certbot --apache -d webapp.zerlauth.net
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isnât close to expiry.
(ref: /etc/letsencrypt/renewal/webapp.zerlauth.net.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 2
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for webapp.zerlauth.net
Waiting for verificationâŚ
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/webapp-le-ssl.conf
Deploying Certificate for webapp.zerlauth.net to VirtualHost /etc/apache2/sites-available/webapp-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/webapp-le-ssl.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if youâre confident your site works on HTTPS. You can undo this
change by editing your web serverâs configuration.
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 2
Redirecting vhost in /etc/apache2/sites-available/webapp.conf to ssl vhost in /etc/apache2/sites-available/webapp-le-ssl.conf
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/webapp.zerlauth.net/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/webapp.zerlauth.net/privkey.pem
Your cert will expire on 2017-12-30. 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:
Your DNS is a mess, where are you hosting your DNS and what did you do ??? What's your nameservers, is it your own nameserver? You are missing all sorts of critical DNS records.
I don't think there is any DNS problem. @MitchellK keep in mind that you are checking webapp.zerlauth.net and it doesn't have its own zone, if you want to check those ANY requests, you should check them against the real zone... and in this case is zerlauth.net
1.- Apache is not working and it is not listening on port 443
2.- You have not forwarded requests to port 443 to your machine on your router.
3.- Your firewall is blocking incoming requests to port 443.
4.- Your ISP is blocking access to port 443.
5.- To be filled...
My bet is on a firewall blocking port 443.
Even port 80 seems to be blocked - at least from the U.S.
If itâs open form elsewhere, then maybe some Geo-location blocking device in play? http://downforeveryoneorjustme.com/webapp.zerlauth.net says itâs upâŚ
hm but what is the problem? i posted my config an that is not realy magic so i donât understand this behaviour âŚ
and localy the command âwget https://webapp.zerlauth.netâ works.