Kunden Cert für Subdomain - Problem
-
- solved
- fulltilt
- Closed
- Thread is marked as Resolved.
-
-
The problem is not due to SNI. It's more simple... The SSL certificate is wrong for the subdomain. I wait the log for confirmation.
Yes, I have seen the posts after writing mine But I am confused... If there is no vhost created then when accessing the subdomain shouldn't he be redirected to the admin panel vhost and not even see the content of the subdomain? Would also explain why the admin panel cert is returned.
-
-
-
Default vhost rule would not show the subdomain content, but I asked before if the browser really directs him to the subdomain content. He said yes...
Anyway, lets wait for the log
-
-
The problem is not due to SNI. It's more simple... The SSL certificate is wrong for the subdomain. I wait the log for confirmation.
sorry for my late, i could not find the log because it has been named shop.log instead of shop.domain.tld
Code- n Sep 15 20:57:43 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/openssl rsa -in /var/www/imscp/gui/data/certs/shop.l$
- [Mon Sep 15 20:57:43 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Sep 15 20:57:43 2014] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/openssl verify -CAfile /var/www/imscp/gui/data/certs$
- [Mon Sep 15 20:57:43 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 2
- [Mon Sep 15 20:57:43 2014] [debug] iMSCP::OpenSSL::ssl_check_cert: /var/www/imscp/gui/data/certs/shop.clientdomain.pem: C = GB, ST = Greater Ma$
- error 2 at 1 depth lookup:unable to get issuer certificate
-
As you can see here, the certificate is wrong
[Mon Sep 15 20:57:43 2014] [debug] iMSCP::OpenSSL::ssl_check_cert: /var/www/imscp/gui/data/certs/shop.clientdomain.pem: C = GB, ST = Greater Ma$
error 2 at 1 depth lookup:unable to get issuer certificateLook like a missing or wrong intermediate certificate
-
-
You are probably missing the intermediate CA.
See this link to find out which one you need: https://support.comodo.com/ind…oot-which-is-intermediate
-
-
-
-
-