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.
My domain is: silkstoneserver.xyz
I ran this command: sudo certbot --nginx -d example.com -d www.example.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for silkstoneserver.xyz
Waiting for verificationā¦
Cleaning up challenges
Failed authorization procedure. silkstoneserver.xyz (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://silkstoneserver.xyz/.well-known/acme-challenge/SxEztcHUdpp8SeUqc0hux124ggqNZ5IutirjaQzjq_0: Timeout during connect (likely firewall problem)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: silkstoneserver.xyz
Type: connection
Detail: Fetching
http://silkstoneserver.xyz/.well-known/acme-challenge/SxEztcHUdpp8SeUqc0hux124ggqNZ5IutirjaQzjq_0:
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.
mark@ubuntuserver:/etc/nginx/conf.d$ sudo nano silkstoneserver.xyz.conf
mark@ubuntuserver:/etc/nginx/conf.d$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
mark@ubuntuserver:/etc/nginx/conf.d$ sudo nginx -s reload
mark@ubuntuserver:/etc/nginx/conf.d$ sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email xxxxxxxxxxxxxxx -d silkstoneserver.xyz --rsa-key-size 4096
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for silkstoneserver.xyz
Waiting for verificationā¦
Cleaning up challenges
Failed authorization procedure. silkstoneserver.xyz (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://silkstoneserver.xyz/.well-known/acme-challenge/L0KkWDcD_tGZ9dgKjrS33GnzVQ30lGYgU0D0soA6oHM: Timeout during connect (likely firewall problem)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: silkstoneserver.xyz
Type: connection
Detail: Fetching
http://silkstoneserver.xyz/.well-known/acme-challenge/L0KkWDcD_tGZ9dgKjrS33GnzVQ30lGYgU0D0soA6oHM:
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): nginx
The operating system my web server runs on is (include version): ubuntu server 18.04
My hosting provider, if applicable, is: Dynu.com (dynamic DNS)
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): 0.31.0
Hi all,
Iām having difficulty in generating certificates to my site. silkstoneserver.xyz
Iāve put the error above and confirmed that nginx is working correctly by forwarding requests from the domain to services on my local network on different ports.
Iāve done a fair bit of searching, but nothing has helped me to be able to install certificates on nginx. Any help would be greatly appreciated.