Help with golang autocert


#1

My domain is: www.reviewerusa.com

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.

Help!


#2

Hi @cmshnrblu

you have 16 active Letsencrypt certificates,

https://transparencyreport.google.com/https/certificates?cert_search_auth=&cert_search_cert=p:d3d3LnJldmlld2VydXNhLmNvbTpmYWxzZTpmYWxzZTo6RUFFPQ&cert_search=include_expired:false;include_subdomains:false;domain:www.reviewerusa.com&lu=cert_search_cert

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

Your site

https://www.reviewerusa.com/

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


#3

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.


#4

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?


#5

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


#6

Bump, Can anyone help?


#7

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

And

is also unknown. That

looks like an API.


#8

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