Author Topic: Problem with SSL for two Joomla/VMs on same domain with same SSL cert - Solved  (Read 3116 times)

_stu

  • Beginner
  • *
  • Posts: 25
I've set up a separate Joomla and VM installation on a subdomain (wholesale.backyardsoaps.com) in addition to one on in the root directory (backyardsoaps.com). All was well until I installed a 5 domain UCC SSL certificate to secure both the original (root directory) domain and the subdomain installations. When going to checkout on the subdomain VM, the application jumps up to the root directory VM (as evidenced by a different template and an empty cart). Another strange thing is that the URL still shows the subdomain, but it's clearly in the root directory.

I checked with the certificate issuer, who assured me that the certificate was installed correctly and that this is not normal behavior for a UCC SSL certificate.

I suspect that the error is in VM, but I'm at a loss to how to track it down. Any advice on solving - either correcting the apparent bug or working around? I've considered just going with two SSL certificates, but the hosting CPanel says "You can only have one SSL Host. You will need to delete the active host to activate a different host. If you need to provide SSL encryption to multiple subdomains, or domains, talk to your SSL provider about certificate options." This makes me think that I've installed it correctly.

Thanks for any assistance.

Cheers,
Stuart

_stu

  • Beginner
  • *
  • Posts: 25
Re: Problem with SSL for two Joomla/VMs on same domain with same SSL cert
« Reply #1 on: January 02, 2012, 00:35:49 am »
After a bit more troubleshooting, it appears to be something other than VM. If I'm on a non-VM page and add https://, I get redirected to the root directory install.

Still working....

Joseph Kwan

  • Advanced
  • Full Member
  • *****
  • Posts: 2344
Re: Problem with SSL for two Joomla/VMs on same domain with same SSL cert
« Reply #2 on: January 02, 2012, 00:36:44 am »
Check your vm config on the Security tab of the subdomian site. Make sure the SSL site url is correctly set to wholesale.backyardsoaps.com
Joomla/VM Upgrade Services. Problems with your migration? We can help.
Custom extensions to VM. Performance Tuning. Template modifications and advices.
Pay service to make VM work according to your needs. Your Joomla/VM solutions are just a PM away.

_stu

  • Beginner
  • *
  • Posts: 25
Re: Problem with SSL for two Joomla/VMs on same domain with same SSL cert
« Reply #3 on: January 02, 2012, 00:42:18 am »
Check your vm config on the Security tab of the subdomian site. Make sure the SSL site url is correctly set to wholesale.backyardsoaps.com

Yep, did that, and it's at https://wholesale.backyardsoaps.com/

Joseph Kwan

  • Advanced
  • Full Member
  • *****
  • Posts: 2344
Re: Problem with SSL for two Joomla/VMs on same domain with same SSL cert
« Reply #4 on: January 02, 2012, 00:45:50 am »
The other possibility is you have some hard coded url in the template.
Also, I noticed you have SEF activated. You better turned it off to troubleshoot. After problem has been resolved, you can turn it back on.
Joomla/VM Upgrade Services. Problems with your migration? We can help.
Custom extensions to VM. Performance Tuning. Template modifications and advices.
Pay service to make VM work according to your needs. Your Joomla/VM solutions are just a PM away.

_stu

  • Beginner
  • *
  • Posts: 25
Re: Problem with SSL for two Joomla/VMs on same domain with same SSL cert
« Reply #5 on: January 02, 2012, 00:58:39 am »
Thanks for the ideas. Nothing in the template (based on JA Pariiti). The SEF didn't make an immediate difference, but of course, it will help the troubleshooting.

I was having no issues until I tried to use the multi-site (SAN) SSL cert, so I am inclined to think it's related. How, I have no idea yet.

_stu

  • Beginner
  • *
  • Posts: 25
Re: Problem with SSL for two Joomla/VMs on same domain with same SSL cert
« Reply #6 on: January 02, 2012, 05:01:19 am »
It was an issue with the hosting setup - specifically CPanel (or at least some versions) appears to not like SSL on a subdomain. The httpd.conf was not updated. Here's the link that made the difference: http://forums.cpanel.net/f5/wildcard-ssl-https-redirection-159650.html. The hosting company had to make the changes for me.

I hope this is helpful to others.

Cheers,
Stuart