S
S
shad32016-04-29 11:47:36
Stunnel
shad3, 2016-04-29 11:47:36

How to sign pem requests with certificate via stunnel?

Good afternoon.
Debian has Stunnel from CryptoPro installed, which can work with guest encryption algorithms.
stunnel config:
pid=/var/opt/cprocsp/tmp/stunnel_cli.pid
output=/var/opt/cprocsp/tmp/stunnel_cli.log
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 3
[https ]
client = yes
accept = 127.0.0.1:8082
connect = some-test-srv.ru:443
CAfile = /opt/cprocsp/sbin/amd64/my.pem
verify = 4
The problem is that stunnel is not currently signing requests. Tell me, please, how to fix this?
Moreover, stunnel does not swear if it is given the wrong path to the certificate. Tried using the cert option instead of CAfile.
I also tried to sign via CURL curl --cacert /opt/cprocsp/sbin/amd64/my.pem 127.0.0.1:8082 -v, requests are also not signed.

Answer the question

In order to leave comments, you need to log in

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question