Created
July 15, 2016 10:28
-
-
Save denblackstache/9581b0db48c6fa11b2832445f4810c05 to your computer and use it in GitHub Desktop.
Example config for CryptoPro Stunnel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Protocol version (all, SSLv2, SSLv3, TLSv1) | |
; sslVersion = TLSv1 | |
; Some security enhancements for UNIX systems - comment them out on Win32 | |
;chroot = /opt/cprocsp/var/lib/stunnel/ | |
setuid = root | |
setgid = root | |
; PID is created inside chroot jail | |
pid = /var/opt/cprocsp/tmp/stunnel_cli.pid | |
; Some performance tunings | |
socket = l:TCP_NODELAY=1 | |
socket = r:TCP_NODELAY=1 | |
;compression = rle | |
; Some debugging stuff useful for troubleshooting | |
debug = 5 | |
output=/var/opt/cprocsp/tmp/stunnel_cli.log | |
;foreground = yes | |
; Service-level configuration | |
[https] | |
client = yes | |
cert = <PATH>/cert-bin.cer | |
CAfile = <PATH>/ca.cer | |
accept = 223 | |
connect = int223.zakupki.gov.ru:443 | |
;mutual_auth = yes | |
verify=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment