Control Web Panel

WebPanel => SSL => Topic started by: RGerculy on June 06, 2014, 02:51:16 PM

Title: Install StartSSL
Post by: RGerculy on June 06, 2014, 02:51:16 PM
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 :

Code: [Select]
# 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 )
Code: [Select]
# 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.
Title: Re: Install StartSSL
Post by: Administrator on June 06, 2014, 09:43:44 PM
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.