Author Topic: Trouble setting up SSL  (Read 4568 times)

Offline wetjet43

  • Jr. Member
  • **
  • Posts: 19
Trouble setting up SSL
« on: February 08, 2007, 01:54:44 AM »
Okay, I'm quite the n00b at all of this, but I do have RC up and running 100% with no errors anywhere.

Now I need to implement ssl on the entire RC site, login and everything. I have done some research on this forum, and have seen a few things that I need to do, but when I implement those into my config, my site stops working. I am running windows 2000 sp4, Apache 2.2.4, PHP5, and MYSQL 5.0.27, along with HMailserver. I guess I need to make my own ssl cert and key, not too sure how to do that, but I'm very tech savvy, so I'm not too worried about it. I found this openssl for windows that I've got that I'm sure will do the trick.

If anybody can point me in the right direction of how to config RC for ssl, and what to do to apache to kick it into ssl mode, that would be great!

Thanks! :)

 

Offline wetjet43

  • Jr. Member
  • **
  • Posts: 19
Re: Trouble setting up SSL
« Reply #1 on: February 08, 2007, 08:43:59 PM »
Doesn't anybody have RC working with apache and ssl? ???

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: Trouble setting up SSL
« Reply #2 on: February 09, 2007, 04:21:22 AM »
Never tried Apache on windows. Basic steps on Linux are as follows.

1 Enable mod_ssl on apache (already done with apache 2.0 on linux)
2 Create a cert (again not sure howto on Windows)
3 Confugure a virtual host to us ssl

       
Code: [Select]
<IfModule mod_ssl.c>

<VirtualHost \
            11.11.11.11:443 \
            11.11.11.11:443 \
            >
    DocumentRoot /path to rc
    ServerName rc
    ServerAlias rc.*
    UseCanonicalName Off
    SSLEngine on
    SSLVerifyClient none
    SSLCertificateFile /path to server.crt
    SSLCertificateKeyFile /path to server.key
    <Directory /path to rc>
        <IfModule sapi_apache2.c>
            php_admin_flag engine on
            php_admin_flag magic_quotes_gpc off
            php_admin_flag safe_mode off
            php_admin_value open_basedir &quot;/path to rc:/etc/psa:
/tmp&quot;

        </IfModule>
        SSLRequireSSL
    </Directory>
</VirtualHost>

Might try looking on the apache forums as this is an apache issue.