Error ssl after i have just chosen the php version
Error ssl after i have just chosen the php version
Dir sir/madam!
I have domain that's in sharing server (I call that domain is mydomain).
Its php version's 5.6;
Its centos 7 with vestacp | httpd | nginx;
1. Before I have installed ssl for mydomain successfully. mydomain run ok with ssl;
I did it with some command line like:
cd /home/myaccount/conf/web/
usr/local/vesta/bin/v-add-letsencrypt-domain 'myaccount' mydomain.com '' 'yes'
2. Now, I have just installed PHP Selector in that server
And I go to Vestacp Panel with myaccount that's used to manage for mydomain.
So I go to menu Web => Edit mydomain => And I choose sk-php74 => Save
=> After that, mydomain has error with ssl.
it shows error "Your connection is not private" or "Your connection to this site isn't secure";
I have checked it so I see it's using ssl certificate of other domain that's in same server.
3. I have processed with some work like
+ I go to my server with ssh;
+ I go to "/usr/local/vesta/ssl/" folder;
+ I have just done with some command lines:
mv certificate.crt_old certificate.crt
mv certificate.key_old certificate.key
cp /home/myacount/conf/web/ssl.mydomain.com.crt /usr/local/vesta/ssl/certificate.crt
cp /home/myacount/conf/web/ssl.mydomain.com.key /usr/local/vesta/ssl/certificate.key
service httpd restart
service nginx restart
service vesta restart
but the above error's still exiting.
So How can I fix that error?
Thanks!
I have domain that's in sharing server (I call that domain is mydomain).
Its php version's 5.6;
Its centos 7 with vestacp | httpd | nginx;
1. Before I have installed ssl for mydomain successfully. mydomain run ok with ssl;
I did it with some command line like:
cd /home/myaccount/conf/web/
usr/local/vesta/bin/v-add-letsencrypt-domain 'myaccount' mydomain.com '' 'yes'
2. Now, I have just installed PHP Selector in that server
And I go to Vestacp Panel with myaccount that's used to manage for mydomain.
So I go to menu Web => Edit mydomain => And I choose sk-php74 => Save
=> After that, mydomain has error with ssl.
it shows error "Your connection is not private" or "Your connection to this site isn't secure";
I have checked it so I see it's using ssl certificate of other domain that's in same server.
3. I have processed with some work like
+ I go to my server with ssh;
+ I go to "/usr/local/vesta/ssl/" folder;
+ I have just done with some command lines:
mv certificate.crt_old certificate.crt
mv certificate.key_old certificate.key
cp /home/myacount/conf/web/ssl.mydomain.com.crt /usr/local/vesta/ssl/certificate.crt
cp /home/myacount/conf/web/ssl.mydomain.com.key /usr/local/vesta/ssl/certificate.key
service httpd restart
service nginx restart
service vesta restart
but the above error's still exiting.
So How can I fix that error?
Thanks!