Author Topic: Install StartSSL  (Read 10098 times)

0 Members and 1 Guest are viewing this topic.

Install StartSSL
« 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.
« Last Edit: June 06, 2014, 03:19:58 PM by RGerculy »

Offline
*
Re: Install StartSSL
« Reply #1 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.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services