How to change name issuer on centos 7

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., 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:
sudo certbot certonly --apache

It produced this output:

Obtaining a new certificate
Performing the following challenges:
http-01 challenge for
Cleaning up challenges
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

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

My hosting provider, if applicable, is:
virtual private server

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

I don’t think you can use both certonly and --apche in the same command line.
I don’t really understand the topic problem/request: “How to change name issuer on centos 7
It seems that you have not made a virtual host for the cert name requested:

You may need to take a few steps back and begin at the very beginning…
“How to serve my first website in Apache”

im try and configure my ssl in vhost.but im access with https website is blank

in my setting sites-available
<VirtualHost *:80>
DocumentRoot /var/www/html/

should i edit in ssl.conf?

Try letting certbot do it for you:
sudo certbot --apache -d -d

i try and same get problem website cannot show,
and i edit my

<VirtualHost *:80>
     DocumentRoot /var/www/html/
RewriteEngine on
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME}
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

and i add below

<VirtualHost *:443>

        SSLEngine on
        <Directory /var/www/html/>
                AllowOverride All

        DocumentRoot /var/www/html/
        Include /etc/letsencrypt/options-ssl-apache.conf

        SSLCertificateFile /etc/letsencrypt/live/
        SSLCertificateKeyFile /etc/letsencrypt/live/$
SSLCertificateChainFile /etc/letsencrypt/live/

its correct ??

Not sure what that is…
But otherwise it seems correct.

Please show the output of:
certbot certificates

Found the following certs:
  Certificate Name:
    Expiry Date: 2020-05-19 05:49:52+00:00 (VALID: 89 days)
    Certificate Path: /etc/letsencrypt/live/
    Private Key Path: /etc/letsencrypt/live/

That’s a good cert :slight_smile:

And the website looks secure:

You should probably disable TLSv1.1

ok thanks, this issue solve

1 Like

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