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 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;
I go to "/usr/local/vesta/ssl/" folder;
I have just done with some command lines:
but the above error still exists.
So How can I fix that error?
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
- I have processed with some work like play store apk
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
So How can I fix that error?
Last edited by devifr92 on Tue May 24, 2022 1:28 am, edited 1 time in total.
Re: Error ssl after i have just chosen the php version
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.
You need to verify that the SSL certificate is configured in the "mydomain.httpd.ssl.conf" file inside the /home/myaccount/conf/web directory.