bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 43 forks source link

[<AWS Lightsail LAMP>] <BNCert Fails to create certificate> #1537

Closed markrids closed 4 months ago

markrids commented 4 months ago

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

ddb5338f-d845-30c1-510a-2085ee1e4c8a

bndiagnostic output

✓ Processes: No issues found
✓ Mariadb: No issues found
? Connectivity: Found possible issues
✓ Php: No issues found
? Apache: Found possible issues
? Resources: Found possible issues

bndiagnostic was not useful. Could you please tell us why?

The issue is unrelated to to those topics

Describe your issue as much as you can

I created a new Lamp Instance using the latest LAMP Package: LAMP (PHP 8) Packaged by Bitnami 8.2.18-4

My first task is always to create a SSL Certificate. This failed, with the following output::

An error occurred creating certificates with Let's Encrypt:

private keys obtained from Let's Encrypt so making regular backups of this folder is ideal. 2024/05/19 09:39:35 [INFO] acme: Registering account for mr.mark.ridsdale@gmail.com 2024/05/19 09:39:35 [INFO] [wftest.uk, www.wftest.uk] acme: Obtaining bundled SAN certificate 2024/05/19 09:39:36 [INFO] [wftest.uk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/352658095762 2024/05/19 09:39:36 [INFO] [www.wftest.uk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/352658095772 2024/05/19 09:39:36 [INFO] [wftest.uk] acme: use tls-alpn-01 solver 2024/05/19 09:39:36 [INFO] [www.wftest.uk] acme: use tls-alpn-01 solver 2024/05/19 09:39:36 [INFO] [wftest.uk] acme: Trying to solve TLS-ALPN-01 2024/05/19 09:39:48 [INFO] [www.wftest.uk] acme: Trying to solve TLS-ALPN-01 2024/05/19 09:39:54 [INFO] [www.wftest.uk] The server validated our request 2024/05/19 09:39:54 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/352658095762 2024/05/19 09:39:55 [INFO] Skipping deactivating of valid auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/352658095772 2024/05/19 09:39:55 Could not obtain certificates: Press [Enter] to continue: error: one or more domains had a problem: [wftest.uk] acme: error: 400 :: urn:ietf:params:acme:error:connection :: During secondary validation: 3.11.87.47: Timeout during connect (likely firewall problem)

markrids commented 4 months ago

Sorted. There was an issue with my DNS for the domain. Closing now.