mrzhang
February 1, 2018, 12:38am
1
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:https://LHLights.com
I ran this command: NET::ERR_CERT_COMMON_NAME_INVALID
It produced this output:
My web server is (include version): Linode 1024
The operating system my web server runs on is (include version): LNMP
My hosting provider, if applicable, is: Linode
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
I have a Linode VPS,and i have 2 website in it,so i install 2 SSL for them
One is: https://jaxseo.me
Another one is: https://www.LHLights.com
But when i view https://LHLights.com
I received a warn from Brower as below:
NET::ERR_CERT_COMMON_NAME_INVALID
and i checked certificate
it’s www.jaxseo.me
But i don’t know how to change the certificate to www.lhlights.com
can you help me?
thks.
Osiris
February 1, 2018, 12:42am
2
How did you install the certificate for LHLights?
rg305
February 1, 2018, 1:29am
3
each website must have it’s own vhost config file.
config must use the cert assigned to that host name.
show:
grep -ri server_name /etc/nginx/sites-available/
Hi Osiris
I follow this link :WordPress建站:Linode VPS上部署SSL启用HTTPS全攻略 - 料网
1.sudo yum install git
2.sudo git clone GitHub - certbot/certbot: Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol. /opt/letsencrypt
3.cd /opt/letsencrypt
4.sudo ls /etc/letsencrypt/live
5.sudo ls /etc/letsencrypt/live/pxxxl.com(或可能是www.pxxxl.com )
xxx
thks.
在2018年02月01 08时52分, "Osiris"letsencrypt@discoursemail.com 写道:
> Osiris
February 1 |
How did you install the certificate for LHLights?
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
So what i need to show you?
thks.
rg305
February 1 |
each website must have it’s own vhost config file.
config must use the cert assigned to that host name.
show:
grep -ri server_name /etc/nginx/sites-available/
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
rg305
February 1, 2018, 1:15pm
8
show:
which nginx
find / -name nginx
mrzhang
February 2, 2018, 12:04am
9
> rg305
February 1 |
show:
which nginx
find / -name nginx
Visit Topic or reply to this email to respond.
In Reply To
> mrzhang
February 1 |
[n] etc/ no nginx
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
mrzhang
February 2, 2018, 4:30am
11
I add a new domain : www.diandiandongli.cn
but i can’t visit jaxseo.me
mrzhang
February 2, 2018, 4:32am
12
and i view https://lhlights.com
also have problem
mrzhang
February 2, 2018, 5:31am
13
i checked interenet
1 IP can be had many SSL,but need to set SNI .
Now,i only use 1 certificate to have many website
but i have different vhost
i don’t know how to set SNI
schoen
February 2, 2018, 6:21am
14
SNI support is automatic for virtual hosts in nginx. You don’t have to enable a specific SNI option. If the virtual hosts are properly configured, nginx will use SNI to decide which certificate to show to each HTTPS client.
schoen
February 2, 2018, 6:30am
16
Could you post your virtual host configurations here?
mrzhang
February 2, 2018, 6:32am
17
Sorry, i can’t understand very well
you mean my linode VPS user + password?
mrzhang
February 2, 2018, 6:33am
18
is it possible to send user+password to your personally email?
mrzhang
February 2, 2018, 6:45am
19
I can send my vps user+password to your personal email.lol
jared.m
February 2, 2018, 7:23am
20
No, no, definitely do not send those credentials or post them here. @schoen was asking for you to paste the contents of your web server configuration files, where the vhosts are configured.