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
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 www.domain2.com with .htaccess modifications.
5) Generated and install second SSL license for 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 www.domain2.com?

Or any other suggestions?

Thanks
Reply
Thanks given by:
#2
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
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

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#4
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 - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: coolman


Possibly Related Threads…
Thread Author Replies Views Last Post
Public_html Inside Domain/Subdomain zHostingSolutions 2 5 ,056 07-23-2021, 09:57 AM
Last Post: Nigel
Cannot Create 2nd 'Addon' Domain In Sentora? Error: Invalid backend configuration. Re BattlinThrough 2 6 ,413 07-07-2020, 01:22 PM
Last Post: TGates
How To Add Letsencrypt SSL certificate To Domain Centos 7 franselect 1 4 ,792 07-04-2020, 02:55 AM
Last Post: Feilding Weather

Forum Jump:


Users browsing this thread: 1 Guest(s)