configure a test SSL

keith smith klsmith2020 at yahoo.com
Mon Aug 31 14:23:22 MST 2009



--- On Mon, 8/31/09, Nathan England <nathan at paysonlinux.org> wrote:

> From: Nathan England <nathan at paysonlinux.org>
> Subject: Re: configure a test SSL
> To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
> Cc: "Keith Smith" <klsmith2020 at yahoo.com>
> Date: Monday, August 31, 2009, 1:47 PM
> On Monday 31 August 2009 01:37:03 pm
> keith smith wrote:
> > 
> > Hi I am running 
> > 
> > Fedora Core 5 (I know it is a little old)
> > Apache/2.2.0
> > 
> > Local.
> > 
> > I would like to setup a test SSL on my server that is
> on a private IP and used for testing.
> > 
> > Is there a way to configure a test SSL?
> > 
> > Thanks in advance!
> > 
> > ------------------------
> > Keith Smith
> > 
> > 
> >       
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change your mail
> settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > 
> 
> 
> This may or may not work for you, give it a shot...
> 
> cd /etc/ssl
> openssl genrsa -des3 -out private/server.key 1024
> openssl req -new -key private/server.key -out
> private/server.csr
> mv private/server.key private/server.key.secure
> openssl rsa -in private/server.key.secure -out
> private/server.key.insecure
> # this one is split into two lines...
> openssl x509 -req -days 365 -in private/server.csr \
>   -signkey private/server.key.insecure -out
> certs/server.crt
> 
> This will create a key requiring a password -
> server.key.secure
> An exact key without a password so apache will start
> without requiring you to input your password -
> server.key.insecure
> A certificate signing request - server.crs
> A x509 signed cert using your new keys - server.crt
> 
> Good luck!
> 
> 
> -- 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Nathan England
> (480) 559-9681
> nathan at paysonlinux.org
> http://www.paysonlinux.org/
> 
> Information Security Consulting
> Software and Web Development
> Systems Administration
> 
> 
> 
> ---------------------------------------------------

I do not have an /etc/ssl

what I do have is 
/etc/httpd 

which contains:

drwxr-xr-x 2 root root 4096 Aug 23 11:56 conf
drwxr-xr-x 2 root root 4096 Aug 31 13:58 conf.d
lrwxrwxrwx 1 root root   19 Jun  8  2007 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root   27 Jun  8  2007 modules -> ../../usr/lib/httpd/modules
lrwxrwxrwx 1 root root   13 Jun  8  2007 run -> ../../var/run

config contains
-rw-r--r-- 1 root root 60052 Aug 23 11:56 httpd.conf
-rw-r--r-- 1 root root 48760 Feb 23  2008 httpd.conf~
-rw-r--r-- 1 root root 12958 Feb 11  2006 magic

config.d contains
-rw-r--r-- 1 root root  295 Feb 11  2006 manual.conf
-rw-r--r-- 1 root root 1796 Apr 22  2005 perl.conf
-rw-r--r-- 1 root root  560 May  9  2007 php.conf
-rw-r--r-- 1 root root  566 Feb 11  2006 proxy_ajp.conf
-rw-r--r-- 1 root root 1671 Feb 27  2006 python.conf
-rw-r--r-- 1 root root  392 Feb 11  2006 README
-rw-r--r-- 1 root root  332 Feb 12  2006 squid.conf
-rw-r--r-- 1 root root 9677 Feb 11  2006 ssl.conf
-rw-r--r-- 1 root root  352 Feb 12  2006 webalizer.conf
-rw-r--r-- 1 root root  299 Feb 11  2006 welcome.conf

Thanks for your help!


      


More information about the PLUG-discuss mailing list