Add mention of SSL for configuration download.

This commit is contained in:
Jérôme Petazzoni
2013-09-04 14:22:24 -07:00
parent be9e6b65c9
commit c6b94b5726
3 changed files with 33 additions and 16 deletions

View File

@ -7,4 +7,8 @@ cd /etc/openvpn
exit 1
}
socat TCP-LISTEN:8080,reuseaddr - < client.http >> http8080.log
echo "https://$(curl -s http://myip.enix.org/REMOTE_ADDR):8080/"
socat -d -d \
OPENSSL-LISTEN:8080,fork,reuseaddr,key=key.pem,certificate=cert.pem,verify=0 \
EXEC:'cat client.http' \
2>> http8080.log