"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/test28-separate_keyfiles.sh" between
hitch-1.7.0.tar.gz and hitch-1.7.2.tar.gz

About: Hitch is a libev-based high performance SSL/TLS proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend.

test28-separate_keyfiles.sh  (hitch-1.7.0):test28-separate_keyfiles.sh  (hitch-1.7.2)
#!/bin/sh #!/bin/sh
# read private key file and cert from 2 separate files # read private key file and cert from 2 separate files
. hitch_test.sh . hitch_test.sh
head -n 28 ${CERTSDIR}/default.example.com > priv.key head -n 28 ${CERTSDIR}/default.example.com > priv.key
tail -n 22 ${CERTSDIR}/default.example.com | head -n 17 >cert.crt tail -n 25 ${CERTSDIR}/default.example.com | head -n 17 >cert.crt
cat >hitch.cfg <<EOF cat >hitch.cfg <<EOF
pem-file = { pem-file = {
cert = "cert.crt" cert = "cert.crt"
private-key = "priv.key" private-key = "priv.key"
} }
frontend = "[localhost]:$LISTENPORT" frontend = "[localhost]:$LISTENPORT"
backend = "[hitch-tls.org]:80" backend = "[hitch-tls.org]:80"
EOF EOF
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)