Help with golang autocert

My domain is:

I ran this command: I used the sample autocert code

It produced this output:

acme/autocert: certificate is not valid yet
acme/autocert: missing certificate

My web server is (include version):chromium 69

The operating system my web server runs on is (include version): centos 7.5.1804

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 reason Im trying autocert in the first place is that certbot renew --dry-run would fail and i couldnt debug why. The strange part about this for me is that i managed to get a working certificate, but Im just trying to automate it so I dont have to go through this hassle all the time but now Ive spent about 3 days combing the web for troubleshooting clues. Then i setup the autocert and that fails to place a cert in my cache folder.


Hi @cmshnrblu

you have 16 active Letsencrypt certificates,;include_subdomains:false;

Why don't you use one of these? One ore two active certificates are enough.

Your site

is hanging, the TLS-Handshake doesn't work. You don't resolve that problem if you create certificates.

Yes, i have active certificates. I am trying to automate this for when the next active one expires. I can get the website working but I am trying to get onto a system that can automate renewal, and that is my problem.

So, thats interesting, it appears that autocert is issuing certificates but it doesnt appear to be storing them in the DirCache specified. Is there any reason that might be?

I should mention that it did manage to write acme_account.key, but nothing else so far to the DirCache file.

Bump, Can anyone help?

I don't know how to configure a Chromium-webserver.


is also unknown. That

looks like an API.

My mistake, i thought it was asking web browser for debugging. Its a golang backend running on a centos environment

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.