Https is not working on Ubuntu 22.04

  • I am using certbot(Let's Encrypt) for https
  • I upgraded my web server from Ubuntu 20.04 to Ubuntu 22.04
  • After that https is not working for Ubuntu 22.04
  • Certbot instructions at https://certbot.eff.org/ does not contain for Ubuntu 22.04
    Please help with this

Please answer as much as you can and also explain what was upgraded and how


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. https://crt.sh/?q=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:

I ran this command:

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

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):

3 Likes

This is unfortunately a known issue and has been reported to the website developers earlier this year. That said, there shouldn't be any difference between Ubuntu 20 and Ubuntu 22 I believe (because it all just uses the generic snap instructions), although I'm not a Ubuntu user, so cannot say for sure.

3 Likes

My domain is:esn.ac.lk

I ran this command:

It produced this output:This site can’t be reached

My web server is (include version): ubuntu 22.04

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

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):certbot 1.30.0

Ubuntu is a GNU/Linux distribution, not a webserver :slight_smile:

How did you perform the migration of your website from 20 to 22? Looks like your Apache (which seems to be your webserver) does not know anything any longer about HTTPS.

3 Likes

Maybe irrelevant, but there is also this seen:
Server: Apache/2.4.52 (Ubuntu)
X-Generator: Drupal 9 (https://www.drupal.org)

3 Likes

Ubuntu is a GNU/Linux distribution, not a webserver

Sorry
My web server is (include version): Apache and os Ubuntu

How did you perform the migration of your website from 20 to 22? just upgrade from ubuntu 20

Do you have a backup of your web server?

Please show the outputs of:
certbot certificates
apachectl -t -D DUMP_VHOSTS

And try:
sudo apt --fix-broken install

3 Likes

There are also several other ACME Client Implementations to choose from ACME Client Implementations - Let's Encrypt

2 Likes

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