Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I am following this AWS Lightsail doc to create a new wildcard certificate on my Bitnami Lightsail instance that is running Apache Wordpress stack.
[1] Install a wildcard SSL certificate in Lightsail Bitnami | AWS re:Post
I have created the required credentials and added to the correct directory and running the following command (email is removed)
My domain is: trevorwalsh.art, *.trevorwalsh.art
I ran this command:
sudo /opt/bitnami/letsencrypt/lego --email="user@email.com" --domains="trevorwalsh.art" --domains="*.trevorwalsh.art" --dns lightsail --path="/opt/bitnami/letsencrypt" run
It produced this output:
2023/03/31 15:36:29 [INFO] [trevorwalsh.art, *.trevorwalsh.art] acme: Obtaining bundled SAN certificate
2023/03/31 15:36:30 [INFO] [*.trevorwalsh.art] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/215474929147
2023/03/31 15:36:30 [INFO] [trevorwalsh.art] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/215549285827
2023/03/31 15:36:30 [INFO] [trevorwalsh.art] acme: authorization already valid; skipping challenge
2023/03/31 15:36:30 [INFO] [*.trevorwalsh.art] acme: use dns-01 solver
2023/03/31 15:36:30 [INFO] [*.trevorwalsh.art] acme: Preparing to solve DNS-01
2023/03/31 15:36:30 [INFO] [*.trevorwalsh.art] acme: Cleaning DNS-01 challenge
2023/03/31 15:36:31 [WARN] [*.trevorwalsh.art] acme: cleaning up failed: lightsail: InvalidInputException: These parameters are required: domainName
{
RespMetadata: {
StatusCode: 400,
RequestID: "93f1c596-ed93-4b68-9222-5335cebf3d60"
},
Code_: "MissingParams",
Message_: "These parameters are required: domainName"
}
2023/03/31 15:36:31 [INFO] Skipping deactivating of valid auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/215474929147
2023/03/31 15:36:31 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/215549285827
2023/03/31 15:36:31 Could not obtain certificates:
error: one or more domains had a problem:
[*.trevorwalsh.art] [*.trevorwalsh.art] acme: error presenting token: lightsail: InvalidInputException: These parameters are required: domainName
{
RespMetadata: {
StatusCode: 400,
RequestID: "2547efe0-4dad-4833-bc03-7ad51e5dc67a"
},
Code_: "MissingParams",
Message_: "These parameters are required: domainName"
}
My web server is (include version):
Server version: Apache/2.4.55 (Unix)
Server built: Feb 20 2023 17:42:52
The operating system my web server runs on is (include version):
WordPress Multisite Certified by Bitnami and Automattic 6.1.1-43
My hosting provider, if applicable, is:
AWS Lightsail
I can login to a root shell on my machine (yes or no, or I don't know):
I can log in as root user
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): I am using Lego