I am not Able to install Certbot on my server

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:asset.nphcda.gov.ng

I ran this command: sudo apt install certbot python3-certbot-apache

It produced this output: certbot cannot be found

My web server is (include version):

The operating system my web server runs on is (include version): Ubuntu 20

My hosting provider, if applicable, is:

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): unable to install certbot

The bottom line is that you should be using snap to install certbot, or in the alternative pip.

3 Likes

i have install the certbot and also install the certificate but i am getting SSL mis match

how can i rectify it

Hi @Nabil_bamalli,

I do not believe HTTPS is being served on Port 443

HTTP on Port 80 result are HTTP/1.1 200 OK.

$ curl -k -Ii http://asset.nphcda.gov.ng:80/
HTTP/1.1 200 OK
Date: Thu, 13 Feb 2025 20:39:23 GMT
Server: Apache/2.4.52 (Ubuntu)
Content-Type: text/html; charset=UTF-8

HTTPS on Port 443 results of error.

$ curl -k -Ii https://asset.nphcda.gov.ng:443/
curl: (35) OpenSSL/3.0.13: error:0A000410:SSL routines::sslv3 alert handshake failure

HTTP on Port 443 results of empty.

$ curl -k -Ii http://asset.nphcda.gov.ng:443/
curl: (52) Empty reply from server

Edit

Please show the output of sudo apachectl -t -D DUMP_VHOSTS.

2 Likes

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1)

Kindly wait to see if there are more knowledgeable Let's Encrypt community volunteers willing to assist.

Until then, here details on Apache can be found in documentation and forums:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.