10-26-2006, 02:18 AM #1New Member
- Join Date
- Oct 2006
SSL Setup Question on Addon domain
I have a domain called "domain1.com". On the same hosting plan, I added an addon domain by name of "domain2.com".
The domain1.com has a subdomain that is secured with SSL. So https//secure.domain1.com is secured. I have all my shopping cart files in this domain & subdomain. So you could access these files in "public_html/secure".
Now I have added domain2.com as the addon-domain and made the same subdomain "secure". That is, https//secure.domain2.com. Note that https//secure.domain1.com/cart and https//secure.domain2.com/cart will take you to the same destination because the subdomain "secure" is the same folder in my FTP "public_html/secure". Recall that this folder/subdomain is SSL Secured. Now I want to access from secure.domain2.com the shopping cart files on secure.domain1.com that is SSL secured. When I do this, I get a security alert stating that there is a problem with the certificate in that it is invalid or does not match the name of the site and asks me if I should proceed. Obviously this isn't a problem, it's just annoying. It still puts the lock on the bottom right of my browser.
So my question is, can secure.domain2.com use the SSL on secure.domain1.com. If so, how can I remove this alert? Am I supposed to be using the dedicated IP address that was given to me when I received the SSL certificate. So I would point to http//184.108.40.206/cart rather than http//secure.domain2.com/cart to access the secure.domain1.com/cart?
I hope I've made this clear. I did an intensive search and I could not find anything regarding this matter. I would be more than glad to elaborate if anyone wants clarification. Thanks for advance for your guidance and support and help.
10-26-2006, 03:16 AM #2Retired Moderator
Originally Posted by pterygoid
- Join Date
- Feb 2005
Alternatively you could get a wildcard certificate on securedomain.com and use domain1.securedomain.com and domain2.securedomain.com.Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
10-26-2006, 03:31 AM #3WHT Addict
- Join Date
- Mar 2005
- Hattiesburg, MS
When checking the validation of the cert your browser will compare the URL typed in the address bar against the domain name the cert says it belongs to. If the cert says it's domain name is secure.domain1.com then it will always give you an error if you try to access via secure.domain2.com.
Unfortunantly when you buy an SSL cert you have to specify the full domain name you are to secure like mail.site.com, www.site.com, secure.site.com, etc..
So in short, there is no way to use the same cert for more than one domain.
The file locations do not play a role.InsanelyMacintosh - Macintosh Software Repository Listings