aboutsummaryrefslogtreecommitdiff
path: root/sslproxy.sh
blob: 4f529fec61ea03b7c5947f6a32ba6e7bab1fc8cd (plain) (blame)
1
2
3
4
5
#!/bin/sh

YEAR=$(date +%Y)

socat -dd tcp4-listen:4646,reuseaddr,fork openssl:localhost:14646,cert=secrets/pki/nomad$YEAR-client.crt,key=secrets/pki/nomad$YEAR-client.key,cafile=secrets/pki/nomad$YEAR.crt