I have been working on a community member's server trying to get this module to work. After investigating it a bit, the process being used is confusing and complicated code-wise.
I'm curious why you used individual ssl host files for each domain rather than the much simpler way of just adding it to the database for '# Custom VH settings (if any exist)' (DB table: vh_custom_tx) as a virtual host override and use the built in port override feature? In my current testing, the domain's vhost is called twice, once in the original httpd-vhosts.conf and then again in the created users-ssl file. Apache only reads the first one it comes too and ignores any others.
Basically, just put this code in the table mentioned above for the domain/sub domain instead of an external file and use the port override (443):
This would save a lot of other issues like rewriting the httpd.conf file, adding the extra folder users_ssl and the creation of the individual domain ssl files
Your thoughts?
I'm curious why you used individual ssl host files for each domain rather than the much simpler way of just adding it to the database for '# Custom VH settings (if any exist)' (DB table: vh_custom_tx) as a virtual host override and use the built in port override feature? In my current testing, the domain's vhost is called twice, once in the original httpd-vhosts.conf and then again in the created users-ssl file. Apache only reads the first one it comes too and ignores any others.
Basically, just put this code in the table mentioned above for the domain/sub domain instead of an external file and use the port override (443):
Code:
SSLEngine on
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl/domain_com/domain.com.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl/domain_com/domain.com.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl/domain_com/intermediate.crt
SSLProtocol all -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4"
<Directory '/var/sentora/hostdata/zadmin/public_html/domain_com/'>
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
Your thoughts?