Unable to generate SSL certificate with letsencrypt

I ran

./letsencrypt-auto certonly -a manual --rsa-key-size 4096

and went through the steps however, at the end of it I received this error message

Failed authorization procedure. ]1): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.cipherschool.com/.well-known/acme-challenge/4INcYHk41KAZTY5xQsT23PGUGynDu9NdqNrrkndfusM: "<!DOCTYPE html>
<html>
<head>
<title>File Not Found</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" >", cipherschool.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response fromchallenge/hJFDLWeBwxOJ7FVBXcEXGp6UvVSpnX1ULSlAHwmvpGc: "<!DOCTYPE html>
<html>
<head>
<title>File Not Found</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" >"

IMPORTANT NOTES:
 - The following errors were reported by the server:

   D
   Detail: Invalidcme-challenge/4INcYHk41KAZTY5xQsT23PGUGynDu9NdqNrrkndfusM:
   "<!DOCTYPE html>
   <html>
   <head>
   <title>File Not Found</title>
   <meta http-equiv="content-type" content="text/html; charset=utf-8"
   >"

   Domaincom
   Type:   unauthorized
   Detail: Invalid response from

challenge/hJFDLWeBwxOJ7FVBXcEXGp6UvVSpnX1ULSlAHwmvpGc:



File Not Found

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address.

Any help would be much appreciated

It’s pretty much what it says–when the Let’s Encrypt server tried to reach http://www.cipherschool.com/.well-known/acme-challenge/$TOKEN, it got an error page in response. When you created the challenge file in response to certbot’s prompting, you either put it in the wrong place, or you gave it the wrong name.

Yes, it could be due to a typo or due to something about your web server configuration.

You could try to create a file http://www.cipherschool.com/.well-known/acme-challenge/testfile and then see whether you can access that file in a web browser.

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