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.
My domain is: avelactica.by
I ran this command:
It produced this output:
My web server is (include version): gorilla package on golang project
The operating system my web server runs on is (include version): debian
My hosting provider, if applicable, is: hoster.by
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): generation with golang code
The part code which make updates certs no get any changes. The server was offline about half year. When server was updated and try start, then I see that server not starting due cert generation.
The output field is empty, so it's hard to say what's failing. Can you paste the exact error your Go code logs when it tries to get the cert?
Also check that avelactica.by still resolves to this server's current IP and that port 80/443 is open from outside. After a long downtime the IP or firewall rules can change. If you're using autocert, updating The Go Programming Language to the latest version is a cheap thing to try too.
As @ryan.whitaker321 noted it would be helpful to see the actual error for your cert request. And, check those items Ryan mentioned.
It is highly unlikely for your IP address to be blocked. I'd suggest figuring out why connections to your domain are failing from the public internet. To me it looks more like a firewall but it could be other misconfigurations of your communications setup
The IP not blocked, because from the agent was created certificates. The used code is very old or contain some issue. I need respawn certificate from application, not from cmd agent.
So, it is not blocking and this ticket can be closed. I will be continue investigate issue in code.
Thank all who response)
Best regards,
Aleksandr
Happy to help. Since the server was offline for six months, could you check whether the existing certificate has expired and review the ACME client logs? Also, verify that ports 80 and 443 are accessible and that your domain's DNS records point to the correct server. Sharing the exact certificate generation error would help identify the issue.
It would be a great help if someone could tell me where to find an up-to-date code example for a Golang project.
You may find these Go resources helpful:
Both are good starting points for implementing Let's Encrypt certificate generation and automatic renewal in Go. I'd recommend checking the autocert package first if you're using Go's standard HTTP server.
Hope this helps! 