Tuesday, 6 August 2013

SSL config on Apache

SSL config on Apache

I have a basic understanding on both apache2 and ssl and yes let's throw
zabbix, the project that I'm working on, so please forgive me.
What I'm trying to do is, enable https instead of the usual http access on
the zabbix monitoring software.
Zabbix appliance is running on opensuse 12.2 and apache 2.2.22.
I came across this blogpost:
http://beeznest.wordpress.com/2008/04/25/how-to-configure-https-on-apache-2/
I had some luck on creating self-signed certificates using: openssl req
-new -x509 -days 365 -keyout key/vhost1.key -out crt/vhost1.crt -nodes
-subj '/O=A/OU=B/CN=C'
Now the trouble comes in when I was trying to change the virtual host
config. What bothers me more is that there seem to 3 conf and I'm confused
on which to change. 1. ssl-global 2. vhost-ssl.template 3.
default-vhost-ssl.conf
May I ask what is the difference on the 3 config, and which one to edit
for my task. Hope someone out there could answer my query or could point
me to the right direction on how to do: SSL on apache2 using opensuse12.2
Thank you.
Regards, Jem

No comments:

Post a Comment