New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Install StartSSL

Started by RGerculy, June 06, 2014, 02:51:16 PM

Previous topic - Next topic

RGerculy

Hello everyone,
I've recently installed CWP on my CentOS 6.5 and I need to add SSL to my sub domain.

The problem is that I'm kinda ( totally ) noob at this what's more the vhost looks different ( or it's me again ? , don't know ).

Here is my vHost :

# vhost_start secure.#####
<VirtualHost MYIP:80>
ServerName secure.#####
ServerAlias www.secure.#####
ServerAdmin contact@#####
DocumentRoot "/home/#####/public_html/secure"
ScriptAlias /cgi-bin/ /home/#####/public_html/secure/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/#####/secure.#####/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup ##### #####
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup ##### #####
</IfModule>

<Directory "/">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end secure.#####



Tested but failed ( Apache wont start )
# vhost_start secure.#####

<VirtualHost MYIP:443>



SSLEngine on
        SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP

        SSLCertificateFile      /etc/pki/tls/certs/server1.sfhits.com.crt
        SSLCertificateKeyFile  /etc/pki/tls/private/secure.sfhits.com.key[b][/b]



ServerName secure.#####
ServerAlias www.secure.#####
ServerAdmin contact@#####
DocumentRoot "/home/#####/public_html/secure"
ScriptAlias /cgi-bin/ /home/#####/public_html/secure/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/#####/secure.#####/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup ##### #####
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup ##### #####
</IfModule>

<Directory "/">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end secure.#####

##### AKA DOMAIN AND USERNAME



I know that I have to create a copy of the code with changed port ( usually ) but how to add my SSL cert to it.
(Maybe something like : https://wiki.apache.org/httpd/NameBasedSSLVHosts) (I'm not testing it because last time I screw up my old CP)

Thanks  you.

Administrator

this should be checked by the support as there are few things to check and set.

You can use tutorials on the internet or you can use our managed support for this, if you do not want to touch anything.