Just to give some additional details before you can check the details below, my main purpose is to host my own personal sync server using syncthing. I have successfully installed and am able to back sync my devices on my personal server as well. I just wanted to additional security incase I have to backup the devices over the internet. I followed this article to install syncthing & apply for the SSL certificate.
This is my personal ubuntu server at home and because I don't have a static IP I use NOIP free DNS services.
So my sub/domains are forwarded as such:
- www.parmars.me ---->> ecronic.ddns.net:18977 ---->> Apache Server(MyPersonalUbuntuServer)
- backmeup.parmars.me ---->> backmeup.myddns.me:8384 ---->> Syncthing(MyPersonalUbuntuServer)
Thanks
Dev
My domain is:
www.parmars.me
I ran this command:
sudo certbot -v --apache --agree-tos --redirect --hsts --staple-ocsp --email you@example.com -d www.parmars.me
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Requesting a certificate for www.parmars.me
Performing the following challenges:
http-01 challenge for www.parmars.me
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain www.parmars.me
http-01 challenge for www.parmars.me
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: www.parmars.me
Type: unauthorized
Detail: 3.33.152.147: Invalid response from http://www.parmars.me/.well-known/acme-challenge/Lux8mvljqT78kx_EsVW2KthZIYJM_8B0zn6L_iGZCRU: 404
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.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
Server version: Apache/2.4.52 (Ubuntu)
Server built: 2022-06-14T12:30:21
Custom Port: 18977
The operating system my web server runs on is (include version):
Ubuntu Server
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
My hosting provider, if applicable, is: godaddy.com & noip.com
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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 1.21.0