Compare commits

...

2 Commits

Author SHA1 Message Date
gingerlime 94ce218f4f
Merge 079fdc9300 into 3bdbe90434 2024-02-08 18:56:55 -07:00
gingerlime 079fdc9300
allow verify certificate chain in client mode (optional)
* `verifyChain` allows stunnel to verify the remote certificate chain. the default is still no, so it should keep backwards compatibility.
* `CAfile` points to a file that should exist on Alpine and includes the root certificates. It has no effect unless `verifyChain` is set to yes.
2017-12-28 14:43:46 +07:00

View File

@ -10,6 +10,8 @@ socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
cert = /etc/stunnel/stunnel.pem
client = ${CLIENT:-no}
verifyChain = ${VERIFY_CHAIN:-no}
CAfile = /etc/ssl/cert.pem
[${SERVICE}]
accept = ${ACCEPT}