Cannot install SSL

I am trying to use "Let's Encrypt" to SSL for mattermost.

My domain is:my_domain

I ran this command:sudo certbot --apache

It produced this output:
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): my_domain
Requesting a certificate for my_domain
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.

My web server is (include version):Apache/2.4.37

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

My hosting provider, if applicable, is:Oracle Cloud

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):2.6.0

It's done.
This was due to the absence of a "<VirtualHost>" section in the "httpd.conf" file.

1 Like

2 posts were split to a new topic: Site problem - can't find ""

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