Unable to obtain certificate

My domain is: cisscom.com

I ran this command: sudo /opt/bitnami/letsencrypt/lego --tls --email="kshafin@cisscom.com" --domains="cisscom.com" --domains="www.cisscom.com" --path="/opt/bitnami/letsencrypt" run

It produced this output:

/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
2021/08/09 10:19:05 [INFO][cisscom.com, www.cisscom.com] acme: Obtaining bundled SAN certificate
2021/08/09 10:19:06 [INFO][cisscom.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2030945
2021/08/09 10:19:06 [INFO][www.cisscom.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/203
2021/08/09 10:19:06 [INFO][cisscom.com] acme: Trying to solve HTTP-01
2021/08/09 10:19:12 [INFO][www.cisscom.com] acme: Trying to solve HTTP-01
2021/08/09 10:19:12 [INFO][www.cisscom.com] Served key authentication
2021/08/09 10:19:17 Could not obtain certificates
acme: Error -> One or more domains had a problem:
[cisscom.com] acme: Error 403 - urn:ietf:params:acme:error:unauthorized - Invalid response from http://ciss
com.com/.well-known/acme-challenge/MfAKQv-9UNM2RmIQnhnMVIjSpKbyXOhuMlm-_JOBGvw []: "<!DOCTYPE
 HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>500 Internal Server Error</title>\n</head
[www.cisscom.com] acme: Error 403 - urn:ietf:params:acme:error:unauthorized - During secondary validation: 
Invalid response from http://www.cisscom.com/.well-known/acme-challenge/tWfsUX01ea37VXS3InHoJxd-wsM_vR5AxhR
4kScPqm8 []: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>500 
Internal Server Error</title>\n</head><body>\n<h1>Inter"

Error: Something went wrong when running the following command:

 $ /opt/bitnami/letsencrypt/lego --path "/opt/bitnami/letsencrypt" --email="${email}"${domain_args} run

Please check our documentation or open a ticket in our community forum, our team will be more than happy to
 help you!
Documentation: https://docs.bitnami.com/
Support: https://community.bitnami.com/

We are going to try to recover the Apache configuration now...

Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : apache not running
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80

My web server is (include version): apache2

The operating system my web server runs on is (include version): ubuntu (bitnami)

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): aws lightsail

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): i don't know

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