My domain is: https://kupoholik.rs/
I ran this command: sudo /opt/bitnami/bncert-tool
It produced this output: Domains
Please provide a valid space-separated list of domains for which you wish to
configure your web server.
Domain list : kupoholik.rs www.kupoholik.rs
Warning: A certificate for the list of domains you entered already exists. It
will be used instead of generating a new one.
Press [Enter] to continue:
Warning: The domain 'kupoholik.rs' resolves to a different IP address than the
one detected for this machine, which is '18.159.190.83'. Please fix its DNS
entries or remove it. For more info see:
https://docs.bitnami.com/general/faq/configuration/configure-custom-domain/
My web server is (include version): Apache latest bitnami stack
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: AWS
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): SSH
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.12.0
Now problem when you type in Kupoholik into google you will see the IP address of the server.
Now this is a problem as it says its unsecured and not routing it to the domain name (not sure how this happened) .
We upgrade our instance on AWS to a larger instance and we are behind cloudfront.
running the command: sudo /opt/bitnami/letsencrypt/lego --http --email="dragan@prodato.rs" --domains="kupoho
lik.rs" --domains="www.kupoholik.rs" --domains="d2si0dhe935ngk.cloudfront.net" --path="/opt/bitnami/letsencrypt"
run
output:
2023/06/15 12:31:19 [INFO] [kupoholik.rs, www.kupoholik.rs, d2si0dhe935ngk.cloudfront.net] acme: Obtaining bundle
d SAN certificate
2023/06/15 12:31:20 [INFO] [d2si0dhe935ngk.cloudfront.net] AuthURL: https://acme-v02.api.letsencrypt.org/acme/aut
hz-v3/237033057327
2023/06/15 12:31:20 [INFO] [kupoholik.rs] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/23703305733
7
2023/06/15 12:31:20 [INFO] [www.kupoholik.rs] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/2370330
57347
2023/06/15 12:31:20 [INFO] [d2si0dhe935ngk.cloudfront.net] acme: Could not find solver for: tls-alpn-01
2023/06/15 12:31:20 [INFO] [d2si0dhe935ngk.cloudfront.net] acme: use http-01 solver
2023/06/15 12:31:20 [INFO] [kupoholik.rs] acme: Could not find solver for: tls-alpn-01
2023/06/15 12:31:20 [INFO] [kupoholik.rs] acme: use http-01 solver
2023/06/15 12:31:20 [INFO] [www.kupoholik.rs] acme: Could not find solver for: tls-alpn-01
2023/06/15 12:31:20 [INFO] [www.kupoholik.rs] acme: use http-01 solver
2023/06/15 12:31:20 [INFO] [d2si0dhe935ngk.cloudfront.net] acme: Trying to solve HTTP-01
2023/06/15 12:31:20 [INFO] [kupoholik.rs] acme: Trying to solve HTTP-01
2023/06/15 12:31:20 [INFO] [www.kupoholik.rs] acme: Trying to solve HTTP-01
2023/06/15 12:31:20 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/237033057327
2023/06/15 12:31:20 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/237033057337
2023/06/15 12:31:21 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/237033057347
2023/06/15 12:31:21 Could not obtain certificates:
error: one or more domains had a problem:
[d2si0dhe935ngk.cloudfront.net] [d2si0dhe935ngk.cloudfront.net] acme: error presenting token: could not start HTTP server for challenge: listen tcp :80: bind: address already in use
[kupoholik.rs] [kupoholik.rs] acme: error presenting token: could not start HTTP server for challenge: listen tcp :80: bind: address already in use
[www.kupoholik.rs] [www.kupoholik.rs] acme: error presenting token: could not start HTTP server for challenge: listen tcp :80: bind: address already in use
i before i checked Let's Debug
Now i am really not sure how to solve this part anymore as it seems something is not working as it should or wrong configured...
Anybody know how this can be solved?