Hi there,
im coming out with a problem creating with certbot certs for my subdomain running on a apache webserver that ist running on a virtual machine (virtual box).
I have one other sub-domain already working with https and letsencrypt but i need a second one to be installed on the same server, with different subdomain on a special port.
Here some details:
My sub-domain is: my.example.com:8045
Port: 8045
I ran several commands like the following:
certbot certonly --webroot -w /var/www/html/app-folder/sub-folder/public -d kgsweb-mobile.peritia-itc.de
It produced this output:
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: my.example.com
Type: unauthorized
Detail: my-ipaddress: Invalid response from https://my.example.com/.well-known/acme-challenge/dasaOhafGplskjsnPtpojadsfoalksdf: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains servie their content from the provided --webroot-path/-w and that the files created there can be downloaded from the internet.
My Server-System: Ubuntu Linux 20.04.6
My web server is (include version):
Apache/2.4.58 (Ubuntu) running on a VirtualBox
Server built: 2024-10-02T12:40:51
The operating system my web server runs on is (include version):
Ubuntu 24.04.1 LTS running on a VirtualBox
My hosting provider, if applicable, is: own server, self-managed.
I can login to a root shell on my machine (yes or no, or I don't know): yes via vpn.
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): certbot 2.9.0
Hope that anyone can help solve this issue.
Thanks!
Mo