I am trying to authenticate my domain name with certbot, I find that it is authenticated with google trust services when searching it in a web browser.
- The domain name is hosted by Cloudflare, I tried to set status of my records to "DNS Only", but the domain names could not be resolved.
- I disabled universal SSL, browser returns "unsecure website" error, it seemed like the let's encrypt certificates are never used.
After certificate generation, my nginx default file has been modified, with certificate location, and http port swiched to 443 from the default 80, and I could not resolve the domain until I added the following (default server with port 80)
server {
listen 80 default_server;
listen [::]:80 default_server;
index index.html; # index.htm index.nginx-debian.html;
server_name sofianehamam.com www.sofianehamam.com;
location / {
try_files $uri $uri/ =404;
}
}
Port 80 is the default for HTTP.
I don't know if I need to purchase the advanced certificate manager to configure custom certificates.
I am trying to establish a secure link between the server and other clients, and I need more control over the certificate files, I can't rely on a browser or any other authority, I need the server to use my own custom certificates.
My domain is: sofianehamam.com
I ran these commands to install certbot: Certbot Instructions | Certbot
My web server is (include version): nginx/1.26.0 (Ubuntu)
The operating system my web server runs on is (include version): ubuntu 24.10
My hosting provider, if applicable, is: CloudFlare
I can login to a root shell on my machine (yes or no, or I don't know): yes via ssh
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 : certbot 3.0.1