Dear All,
I am getting AuthorizationError(‘Some challenges have failed.’) while creating SSL certificate.
Note I have purchased a domain from GoDaddy & I am running apache webserver on aws elastic beanstalk. I have forwarded elastic beanstalk URL from GoDaddy with ‘forward with mask’.
this is the first time I am using Iet’sEncrypt so please help me resolving this issue.
Refer the following details :
I ran this command:
sudo /opt/certbot/certbot-auto certonly --debug --non-interactive --email myexamplemail@gmail.com --agree-tos --standalone --domains mydomain.com --keep-until-expiring --pre-hook “service httpd stop” --staging
It produced this output:
raise errors.AuthorizationError(‘Some challenges have failed.’)
2020-07-14 02:13:59,518 P3375 [INFO] AuthorizationError: Some challenges have failed.
2020-07-14 02:13:59,518 P3375 [INFO] Please see the logfiles in /var/log/letsencrypt for more details.
2020-07-14 02:13:59,519 P3375 [INFO] IMPORTANT NOTES:
2020-07-14 02:13:59,519 P3375 [INFO] - The following errors were reported by the server:
2020-07-14 02:13:59,519 P3375 [INFO]
2020-07-14 02:13:59,519 P3375 [INFO] Domain: mydomain.com
2020-07-14 02:13:59,519 P3375 [INFO] Type: connection
2020-07-14 02:13:59,519 P3375 [INFO] Detail: Fetching
2020-07-14 02:13:59,519 P3375 [INFO] http://mydomain.com/.well-known/acme-challenge/kCF6ZmWn0dWdhROECu8t6B7y0e7pOHn6owOZqMwOmY4:
2020-07-14 02:13:59,519 P3375 [INFO] Timeout during connect (likely firewall problem)
2020-07-14 02:13:59,519 P3375 [INFO]
2020-07-14 02:13:59,519 P3375 [INFO] To fix these errors, please make sure that your domain name was
2020-07-14 02:13:59,519 P3375 [INFO] entered correctly and the DNS A/AAAA record(s) for that domain
2020-07-14 02:13:59,519 P3375 [INFO] contain(s) the right IP address. Additionally, please check that
2020-07-14 02:13:59,519 P3375 [INFO] your computer has a publicly routable IP address and that no
2020-07-14 02:13:59,519 P3375 [INFO] firewalls are preventing the server from communicating with the
2020-07-14 02:13:59,520 P3375 [INFO] client. If you’re using the webroot plugin, you should also verify
2020-07-14 02:13:59,520 P3375 [INFO] that you are serving files from the webroot path you provided.
2020-07-14 02:13:59,520 P3375 [INFO] - Your account credentials have been saved in your Certbot
2020-07-14 02:13:59,520 P3375 [INFO] configuration directory at /etc/letsencrypt. You should make a
2020-07-14 02:13:59,520 P3375 [INFO] secure backup of this folder now. This configuration directory will
2020-07-14 02:13:59,520 P3375 [INFO] also contain certificates and private keys obtained by Certbot so
2020-07-14 02:13:59,520 P3375 [INFO] making regular backups of this folder is ideal.
2020-07-14 02:13:59,520 P3375 [INFO] ------------------------------------------------------------
2020-07-14 02:13:59,520 P3375 [ERROR] Exited with error code 1
My web server is (include version):
Apache 2.4.43 with mod_wsgi 3.5
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
64bit Amazon Linux 2018.03 v2.9.12 running Python 3.6
I can login to a root shell on my machine (yes or no, or I don’t know):yes
Thanks,