This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

SSL with more then one domain
#1
[Not Solved] SSL with more then one domain
I have some problems with second SSL domain. My current configuration is as follows:

1) Installed sentora in http://panel.domain.com
2) Generated and installed first SSL license as panel.domain.com. And I can use https://panel.domain.com without any problems.
3) Setup second website as domain2.com
4) Redirect domain2.com to http://www.domain2.com with .htaccess modifications.
5) Generated and install second SSL license for http://www.domain2.com
6) When I open https://www.domain2.com, And I get security errors. Which indicates the license is belongs to panel.domain.com

Should I generate second SSL license for domain2.com instead of http://www.domain2.com?

Or any other suggestions?

Thanks
Reply
Thanks given by:
#2
[Not Solved] RE: SSL with more then one domain
Solved my problem myself Big Grin

I added port :443 instead of :80 to httpd-vhost.conf file. But I hope it won't be overwritten.
Reply
Thanks given by:
#3
[Not Solved] RE: SSL with more then one domain
it will be overwritten
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS

Reply
Thanks given by:
#4
[Not Solved] RE: SSL with more then one domain
Use the port override feature in Module Admin>Apache Coinfig>Override a virtual host>select domain>Port Override: 443
That is what it was built for I use it for a couple subdomains (billing and signup) and seems to work just fine.
Also remember to add LISTEN 443 under LISTEN 80 in httpd.conf
Also, that s where you would add your SSL info, similar too:

Code:
   SSLEngine on
   SSLCertificateFile C:/zpanel/bin/apache/ssl_certs/__.hosting.com.crt
   SSLCertificateKeyFile C:/zpanel/bin/apache/ssl_certs/__.hosting.com.key
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    CustomLog c:/zpanel/logs/ssl/ssl_signup_request.log \
    "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

in Custom Entry for that domain. (edit paths and crt/key names to match yours)
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by: coolman


Possibly Related Threads...
Thread Author Replies Views Last Post
Cannot Create 2nd 'Addon' Domain In Sentora? Error: Invalid backend configuration. Re BattlinThrough 2 984 07-07-2020, 01:22 PM
Last Post: TGates
How To Add Letsencrypt SSL certificate To Domain Centos 7 franselect 1 603 07-04-2020, 02:55 AM
Last Post: Feilding Weather
Add on Domains not working but Main domain works luckyviet 2 1 615 03-18-2020, 07:38 PM
Last Post: AanaNahum

Forum Jump:


Users browsing this thread: 1 Guest(s)