I have some problems with a real certificate on a website I host on my server.
Under admin I have made a website (user level) and installed a real certificate. That all works fine.
A user made under a reseller also want to have a real certificate. I have given him a free IP adres, so the SSL function is enabled for him. He requested a real certificate and pasted the information under the SSL section, and SSL is enabled for that site.
When some try to reach the website, i says that the certificate is not for the website you request, but for my main site (made under admin)
I have looked in some text files, and found the following:
In the httpd.conf file under /usr/local/directadmin/data/users/username/httpd.conf there is still the default SSL information:
In the file /usr/local/directadmin/data/users/username/domain/domainname.tld.conf it added:
I have replaced the items in the httpd.conf file for that user with the lines above, and restarted the httpd, that didn't help much, still the same error on the certificate. Than I have removed the lines in the domainname.tld.conf and restarted httpd but still no luck.
Any suggestions what to do the fix this problem?
Under admin I have made a website (user level) and installed a real certificate. That all works fine.
A user made under a reseller also want to have a real certificate. I have given him a free IP adres, so the SSL function is enabled for him. He requested a real certificate and pasted the information under the SSL section, and SSL is enabled for that site.
When some try to reach the website, i says that the certificate is not for the website you request, but for my main site (made under admin)
I have looked in some text files, and found the following:
In the httpd.conf file under /usr/local/directadmin/data/users/username/httpd.conf there is still the default SSL information:
Code:
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
In the file /usr/local/directadmin/data/users/username/domain/domainname.tld.conf it added:
Code:
SSLCertificateFile /usr/local/directadmin/data/users/username/domains/domainname.tld.cert
SSLCertificateKeyFile /usr/local/directadmin/data/users/username/domains/domainname.tld.key
I have replaced the items in the httpd.conf file for that user with the lines above, and restarted the httpd, that didn't help much, still the same error on the certificate. Than I have removed the lines in the domainname.tld.conf and restarted httpd but still no luck.
Any suggestions what to do the fix this problem?