VPS CentOS Vults HTTPS


#1

My domain is: mosaique.paris

I ran this command:https://certbot.eff.org/lets-encrypt/centosrhel7-apache

It produced this output: NO HTTPS For my name

My web server is (include version):www.mosaique.paris

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

My hosting provider, if applicable, is: VULTR

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


#2

That’s, um, pretty much useless in order to help you. Sure, a link to the instructions you followed is helpful, but what exact command did you run, and what, exactly, was the output of that command?


#3

Hi @cjacquel

there is no certificate created:

https://transparencyreport.google.com/https/certificates?cert_search_auth=&cert_search_cert=&cert_search=include_expired:false;include_subdomains:false;domain:mosaique.paris&lu=cert_search

Did you only install certbot? Or did you start certbot: Something like

sudo certbot --apache

if you use Apache or

sudo certbot --nginx

if you use nginx?

  1. Install certbot
  2. Run certbot to create a certificate and to install it
  3. If you have a firewall, open port 443

(2) is missing.


#4

When I click on sudo certbot --apache
I have this message :
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.

Could you help ?
Thx


#5

Looks like you don’t have a vHost. You can have a lot of vHosts, every vHost can have it’s own certificate.

Check your Apache config file, there should be a “Listen 80” command. There:

Listen 80

<VirtualHost *:80>
    DocumentRoot "/www/mosaique.paris"
    ServerName mosaique.paris

    # Other directives here
</VirtualHost>

Replace

DocumentRoot "/www/mosaique.paris"

with your correct DocumentRoot.


#6

Hi,

Did you already have a virtual host in apache setted up & listen to port 80?
If so, please use the second tutorial, if not… please read both first and second tutorial.


Thank you


#7

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