By katherinegot
Hello,
When I run this command: sudo certbot --apache -d lazsoc.ca -d www.lazsoc.ca
I receive this error:
Failed authorization procedure. lazsoc.ca (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://lazsoc.ca/.well-known/acme-challenge/dKGLJWuycibpj9oI5zkr7oOUXOMpV0cS9QIpNjThQIY [45.55.223.36]: "<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>500 Internal Server Error</h1", www.lazsoc.ca (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://www.lazsoc.ca/.well-known/acme-challenge/MKBQljn70jXTDK-VO26lPDF9muXjPbnqtJi__lBYJB4 [45.55.223.36]: "<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>500 Internal Server Error</h1"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: lazsoc.ca
Type: unauthorized
Detail: Invalid response from
https://lazsoc.ca/.well-known/acme-challenge/dKGLJWuycibpj9oI5zkr7oOUXOMpV0cS9QIpNjThQIY
[45.55.223.36]: "<html>\r\n<head><title>500 Internal Server
Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>500
Internal Server Error</h1"
Domain: www.lazsoc.ca
Type: unauthorized
Detail: Invalid response from
https://www.lazsoc.ca/.well-known/acme-challenge/MKBQljn70jXTDK-VO26lPDF9muXjPbnqtJi__lBYJB4
[45.55.223.36]: "<html>\r\n<head><title>500 Internal Server
Error</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>500
Internal Server Error</h1"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
I’ve scoured the internet for solutions but can’t seem to find any that work. I’m also a relative newbie and am having trouble understanding the system and the problems.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
It looks like that your site was returning a 500 error and Let’s Encrypt was failing to validate your domain name.
What I could suggest in this case is to check your Apache error log for more information regarding the 500 error:
tail -f /var/log/apache2/error.log
Once you sort out the error with the information from the logs, then you could try running certbot again.
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.