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.
My domain is:
apijunction.live
I ran this command:
sudo letsencrypt --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: apijunction.live
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Requesting a certificate for apijunction.live
Performing the following challenges:
http-01 challenge for apijunction.live
Waiting for verification...
Challenge failed for domain apijunction.live
http-01 challenge for apijunction.live
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: apijunction.live
Type: unauthorized
Detail: The key authorization file from the server did not match this challenge. Expected "DAzupJ9CepTGoz3EUuRz7UrI6xpgFqFSJNyqTZcdTCM.oJcDdf92HZGlmS7FUduTKJ2G9zfi0gSSwZXuzeI0Gug" (got "DAzupJ9CepTGoz3EUuRz7UrI6xpgFqFSJNyqTZcdTCM")
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
My web server is (include version):
Server version: Apache/2.4.52 (Ubuntu)
Server built: 2024-04-10T17:45:18
The operating system my web server runs on is (include version):
ubuntu 24.04 lts
My hosting provider, if applicable, is:
i have hosted in my local machine
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):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
conf file:
<Virtualhost *:80>
ServerName apijunction.live
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
<Proxy http://192.168.1.11:8081/*>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://192.168.1.11:8081/ nocanon
ProxyPassReverse / http://192.168.1.11:8081/
ProxyPassReverse / http://apijunction.live/
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
RewriteEngine on
RewriteCond %{SERVER_NAME} =apijunction.live
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</Virtualhost>