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
2 posts • Page 1 of 1
devifr92
Posts: 1
Joined: Tue Apr 19, 2022 3:15 pm

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

Post by devifr92 » Tue Apr 19, 2022 3:18 pm

Dir sir/madam!

I have a 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;
  • 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'

    Now, I have just installed PHP Selector on 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 an error with ssl. it shows the 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 another domain that's on the same server.
  • I have processed with some work like play store apk
I go to my server with ssh;
I go to "/usr/local/vesta/ssl/" folder;
I have just done with some command lines:

Code: Select all

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 still exists.

So How can I fix that error?
Last edited by devifr92 on Tue May 24, 2022 1:28 am, edited 1 time in total.
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

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

Post by sandro » Wed Apr 20, 2022 12:40 pm

This error is because the domain is using a wrong certificate or a certificate from another domain.

You need to verify that the SSL certificate is configured in the "mydomain.httpd.ssl.conf" file inside the /home/myaccount/conf/web directory.
Top


Post Reply
  • Print view

2 posts • 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