# Too many certificates

**URL:** <https://community.letsencrypt.org/t/too-many-certificates/193699>\
**Category:** Help\
**Created:** [March 1, 2023, 8:11pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699 "2023-03-01T20:11:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 8:11pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/1 "2023-03-01T20:11:56Z")

</div>

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](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: easygoshuttle.com.au

I ran this command: sudo certbot --nginx

It produced this output: "too many certificate....5 certificate in 164 hours..."

My web server is (include version): nginx

The operating system my web server runs on is (include version):Linux instance-1 5.10.0-21-cloud-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86\_64

My hosting provider, if applicable, is: google compute engine

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): ssh terminal

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you're using Certbot): certbot 2.3.0

Please help me to fix this matter.... this is the company website.... serious error happened and I had to deploy yesterday... I thought everything was okay but finally I got several problem, "not allowed header...", sometimes gunicorn problem that I could not fix... that's why I was panic and tried all up. Google compute engine is okay now as long as I can received the certificate from "Let's Encript".

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [March 1, 2023, 8:14pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/2 "2023-03-01T20:14:25Z")

</div>

> [@sung](#):
>
> It produced this output: "too many certificate....5 certificate in 164 hours..."

> [@sung](#):
>
> Please help me to fix this matter

**What help do you need?**  
You should have at least one working certificate.  
Show:  
`certbot certificates`

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [March 1, 2023, 8:16pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/3 "2023-03-01T20:16:02Z")

</div>

All the recent certificates lack the "`www`" name [seen in the previous certs]:  
[crt.sh | easygoshuttle.com.au](https://crt.sh/?identity=easygoshuttle.com.au&deduplicate=Y&dir=%5E&sort=4&group=none)

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 8:26pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/4 "2023-03-01T20:26:33Z")

</div>

All the instance I failed to deploy was destroyed. so I got only one instance at Google

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 8:26pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/5 "2023-03-01T20:26:56Z")

</div>

Let me check at google now Thanks a lot

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 8:29pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/6 "2023-03-01T20:29:19Z")

</div>

This is the message I got "The following error was encountered:  
[Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'  
Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.  
Ask for help or search for solutions at [https://community.letsencrypt.org](https://community.letsencrypt.org). See the logfile /tmp/certbot-log-fwzbo3sd/log or re-run Certbot with -v for more details."

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 8:31pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/7 "2023-03-01T20:31:28Z")

</div>

Oh my goodness... I can see how much I was panic to deploy website... please help me to fix this problem... do I need to re-run Certbot with -v ?

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 8:35pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/8 "2023-03-01T20:35:02Z")

</div>

The last one I am about to deploy the website... I did put 'www' one. I just checked 'nginx' now.

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [March 1, 2023, 8:42pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/9 "2023-03-01T20:42:45Z")

</div>

> [@sung](#):
>
> [Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'

> [@sung](#):
>
> do I need to re-run Certbot with -v ?

Did you use `sudo certbot ...` when you got the permission denied?

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 9:02pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/10 "2023-03-01T21:02:29Z")

</div>

Yes it was denied in few minutes. I did sudo certbot --nginx -v

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 9:13pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/11 "2023-03-01T21:13:39Z")

</div>

Do you want me to try again?

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [March 1, 2023, 9:45pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/12 "2023-03-01T21:45:05Z")

</div>

Is there a .lock file in that folder? You might need to delete that if it was leftover from a prior killed certbot.

But, I can't reach your domain right now so you should fix that first

```plaintext
curl -i -m8 easygoshuttle.com.au
HTTP/1.1 400 Bad Request
Server: nginx/1.18.0
<!DOCTYPE html><html lang="en"><head><title>Bad Request (400)</title>

curl -i -m8 www.easygoshuttle.com.au
curl: (28) Connection timed out after 8001 milliseconds

```

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 11:12pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/13 "2023-03-01T23:12:21Z")

</div>

Ok Thanks a lot. When I come back, I will try do it myself

Once again, I do much appreciate your help

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 1, 2023, 11:58pm UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/14 "2023-03-01T23:58:48Z")

</div>

> [@sung](#):
>
> /var/log/letsencrypt/.certbot.loc

I looked /bar/log/letsencrypt/ but there is no .lock file in there. Is that the right place?

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 2, 2023, 12:02am UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/15 "2023-03-02T00:02:29Z")

</div>

I forgot one thing to tell you. When I command this, 'sudo certbot --nginx', I got this message "sudo: certbot: command not found." so I did try this "sudo snap certbot --nginx". but still denied.

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 2, 2023, 5:38am UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/16 "2023-03-02T05:38:32Z")

</div>

I have still that problem... my company website is still dead. The error message said I can get after 2pm today.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [March 2, 2023, 6:07am UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/17 "2023-03-02T06:07:26Z")

</div>

> [@sung](#):
>
> certbot: command not found

How is that possible?  
Are you on the right system?  
Did you delete/uninstall `certbot`?

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 2, 2023, 6:17am UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/18 "2023-03-02T06:17:56Z")

</div>

I installed in a different way " **sudo apt-get install certbot python3-certbot-nginx** , then now I can use 'sudo certbot --nginx' but still same problem.

The thing you told me to delete, I could not find in the directory. I can see the certbot folder home directiory. Do you want me to delete the folder?

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 2, 2023, 6:19am UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/19 "2023-03-02T06:19:51Z")

</div>

Do you want me to uninstall certbot? or delete it ? I am too scared to just delete it. Is there any certain way to uninstall, I mean proper way to do it..

---

<div class="post-metadata">

**Author:** ![sung](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/sung/32/49604_2.png) [@sung](https://community.letsencrypt.org/u/sung)\
**Post date:** [March 2, 2023, 6:47am UTC](https://community.letsencrypt.org/t/too-many-certificates/193699/20 "2023-03-02T06:47:58Z")

</div>

I did uninstall by following command, "sudo apt-get remove certbot"  
After this, " **sudo apt-get autoremove**

But the problem is that those following file I can not remove

/snap/certbot  
/snap/certbot/2772/bin/certbot  
/snap/certbot/2772/lib/python3.8/site-packages/certbot

They are all 'read only file system'

Now what shall I do?

[Next page](https://community.letsencrypt.org/t/too-many-certificates/193699.md?page=2)
