Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Error ssl after i have just chosen the php version

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
david79
Posts: 1
Joined: Mon Dec 13, 2021 12:48 am

Os: CentOS 6x
Web: nginx + php-fpm
Error ssl after i have just chosen the php version
  • Quote

Post by david79 » Mon Dec 13, 2021 1:07 am

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!
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password