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. crt.sh | example.com ), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
Hi,
My ssl certificate expired yesterday and I am trying to renew it, but i am having trouble requesting the certificate using certbot.
I have created this directory: /var/www/letsencrypt
My domain is: git-01.antares3000.com
I ran this command: sudo certbot certonly --webroot --webroot-path=/var/www/letsencrypt -d git-01.antares3000.com
It produced this output: Timeout during connect (likely firewall problem)
My web server is (include version):
The operating system my web server runs on is (include version): Ubuntu Server 20.04 LTS 64bit
My hosting provider, if applicable, is:
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.17.0
Thanks for your help
1 Like
rg305
July 7, 2021, 8:33am
2
Hi @mazzaAlessandro , and welcome to the LE community forum
I'm sorry to see that your certificate has expired; the automated renewal process has failed us.
Please show the output of:
sudo nginx -T
Hi,
Here's the output:
sudo: nginx: command not found
I miss something?
rg305
July 7, 2021, 8:38am
4
mazzaAlessandro:
I miss something?
maybe I missed something...
Please show the output of:
sudo netstat -pant | grep -Ei 'nginx|apache|:80|:443'
Again:
sudo: netstat: command not found
I have to install something?
rg305
July 7, 2021, 8:40am
6
Are you copying that into the SSH connection?
Yes, i'm connected throught PuTTY and logged as root
rg305
July 7, 2021, 8:43am
8
OK. let's try something simpler...
ifconfig | grep -Ei 'add|inet'
OR
hostname -I
Ok,
hotname -I
return this : 80.211.42.158
ifconfig | grep -Ei 'add|inet'
Return this: Command 'ifconfig' not found, but can be installed with: apt install net-tools
rg305
July 7, 2021, 8:47am
10
OK, you are on the right system.
Let's try:
lsof -i | grep -E ':80|:443'
rg305
July 7, 2021, 8:50am
12
I see nginx
listening on port 80.
Please try:
find / -name nginx
During the GitLab installation
rg305
July 7, 2021, 8:53am
16
I'm not familiar with that...
Try:
/opt/gitlab/service/nginx -T
OR
/var/opt/gitlab/nginx -T
Both returned 'Is a directory'
rg305
July 7, 2021, 8:56am
18
OK, try:
/opt/gitlab/embedded/sbin/nginx -T
If that fails, then show:
ps -ef | grep nginx
Ok,
the first one fails, so the second one returned this:
rg305
July 7, 2021, 8:59am
20
That shows:
/opt/gitlab/embedded/sbin/nginx
running.
Try that again:
/opt/gitlab/embedded/sbin/nginx -T