Quick guide based on stunnel for mysql - server and client to add https to existing http server on demand.
Contents: [Dobrica Pavlinušić's random unstructured stuff]
|
Installation
apt-get install stunnel4
Create certificate
cd /etc/stunnel
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout https.pem -out https.pem
Configuration file
/etc/stunnel/httpd.conf
cert = /etc/stunnel/https.pem
sslVersion = SSLv3
debug = 7
[https]
accept = 443
connect = 80
TIMEOUTclose = 0
Start tunnel
stunnel4 /etc/stunnel/https.conf
Updated by Dobrica Pavlinušić on Jan 20 7:43am
Posted by Dobrica Pavlinušić on Jan 20 7:40am
|
Weblog Navigation
Loading...
|