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: /usr/bin/certbot renew --quiet
It produced this output:
Attempting to renew cert (kib.domain.com) from /etc/letsencrypt/renewal/kib.domain.com.conf produced an unexpected error: Failed authorization procedure. kib.domain.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https:///.well-known/acme-challenge/GXB8AMxMZcJky9qz0TNPdLXCTqGoa_7kAdPOCr2ZbmE: Error getting validation data. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/kib.domain.com/fullchain.pem (failure)
My web server is (include version): nginx 1.10.3
The operating system my web server runs on is (include version): ubuntu 16.04
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
False sense of obscurity…
All certs are public information.
Whomever is looking for them can find that info easily without having to scrape these pages.
If you are really paranoid, you should issue a wildcard cert and change your hostname on a daily basis - LOL
Actually I'd assumed you'd just deleted it before posting - another reason not to do that
Do you have a HTTP to HTTPS redirect in place already? If so, maybe there is something wrong with it. The validation request always goes to HTTP first and will only use HTTPS if it gets redirected. Maybe the redirect is somehow removing the hostname?
I havent deleted the domain… sorry for the confusion. domain is now present in current response.
after jmorahan comment, I added the a $server_name variable in my config and now I get:
> Attempting to renew cert (kib.viriback.com) from /etc/letsencrypt/renewal/kib.viriback.com.conf produced an unexpected error: Failed authorization procedure. kib.viriback.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://kib.viriback.com/.well-known/acme-challenge/1CwwDrltPGHgWG55Nqn8-XIZYpWBskYKZU2RQ1lUteg: "<html>
> <head><title>502 Bad Gateway</title></head>
> <body bgcolor="white">
> <center><h1>502 Bad Gateway</h1></center>
> <hr><cen". Skipping.
> All renewal attempts failed. The following certs could not be renewed:
> /etc/letsencrypt/live/kib.viriback.com/fullchain.pem (failure)
@viriback you are not defining a server_name directive in that server block so variable $server_name is empty, you can define a server_name directive with your domain or replace $server_name by $host
Okay, so far so good. It seems the problem now is that the validation request is being redirected to HTTPS, where it is served by your 443 server block, but that block is then trying to proxy it to localhost:5601 and failing.
Could you post the contents of the renewal configuration file for your certificate (in /etc/letsencrypt/renewal/)? Also, what version of certbot are you using (certbot --version)?