/opt/cprocsp/bin/amd64/csptest -tlsc -server gost2012.stable.dp.korona.net -nocheck -nosave -v
centos 7
[root@localhost test]# openssl engine
(rdrand) Intel RDRAND engine
(dynamic) Dynamic engine loading support
(gostengy) CryptoPro GostEngy ($Revision: 180423 $)
[root@localhost test]# openssl version
OpenSSL 1.1.0j 20 Nov 2018
[root@localhost test]# nginx -V
nginx version: nginx/1.14.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.1.0j 20 Nov 2018
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --user=root --group=root --with-http_ssl_module
[root@localhost test]# rpm -qa|grep cproc|sort
cprocsp-cpopenssl-110-base-5.0.11216-5.noarch
cprocsp-cpopenssl-110-devel-5.0.11216-5.noarch
cprocsp-cpopenssl-110-gost-64-5.0.11216-5.x86_64
cprocsp-curl-64-4.0.9963-5.x86_64
cprocsp-pki-cades-2.0.0-1.x86_64
cprocsp-pki-phpcades-2.0.0-1.x86_64
cprocsp-pki-plugin-2.0.0-1.x86_64
cprocsp-pki-sapssf-2.0.0-1.x86_64
cprocsp-rdr-gui-gtk-64-4.0.9963-5.x86_64
cprocsp-rsa-64-4.0.9963-5.x86_64
lsb-cprocsp-base-4.0.9963-5.noarch
lsb-cprocsp-ca-certs-4.0.9963-5.noarch
lsb-cprocsp-capilite-64-4.0.9963-5.x86_64
lsb-cprocsp-devel-4.0.9963-5.noarch
lsb-cprocsp-kc2-64-4.0.9963-5.x86_64
lsb-cprocsp-rdr-64-4.0.9963-5.x86_64
конфиг nginx
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
location ~ ^/ {
proxy_pass
https://test-tls.ru;
proxy_ssl_verify off;
proxy_ssl_ciphers GOST2012-GOST8912-GOST8912;
proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
}
}