[dmitry@dmitry ~]$ cryptcp -creatcert -cont '\\.\HDIMAGE\foo' -pin 1234 \
> -rdn "CN=foo, O=Eldis" \
> -provtype 80 -ku -du -both \
> -ca
http://cryptopro.ru/certsrv \
> -exprt
CryptCP 4.0 (c) "Crypto-Pro", 2002-2018.
Command prompt Utility for file signature and encryption.
Creating request...
Press keys...
[..........................................................................]
Sending request to CA...
Installing certificate...
Certificate is installed.
[ErrorCode: 0x00000000]
[dmitry@dmitry ~]$ certmgr -export -pfx -dn "CN=foo, O=Eldis" -dest /tmp/ect.pfx -provty
pe 80
Certmgr 1.1 (c) "Crypto-Pro", 2007-2018.
program for managing certificates, CRLs and stores
Exporting:
=============================================================================
1-------
Issuer : E=support@cryptopro.ru, C=RU, L=Moscow, O=CRYPTO-PRO LLC, CN=CRYPT
O-PRO Test Center 2
Subject : CN=foo, O=Eldis
Serial : 0x120031939BFD232AC9D2CB515000000031939B
SHA1 Hash : 2400b6811a0e6bbb750146eafe5a1b074bb65d10
SubjKeyID : a76905cd6d40fab8c52ba13ea49cd1c97f10b5ad
Signature Algorithm : ГОСТ Р 34.11/34.10-2001
PublicKey Algorithm : ГОСТ Р 34.10-2012 (512 bits)
Not valid before : 21/01/2019 09:50:57 UTC
Not valid after : 21/04/2019 10:00:57 UTC
PrivateKey Link : Yes
Container : HDIMAGE\\foo.000\8DC3
Provider Name : Crypto-Pro GOST R 34.10-2012 KC1 CSP
Provider Info : ProvType: 80, KeySpec: 1, Flags: 0x0
CA cert URL :
http://testca.cryptopro....-ca-2014_CRYPTO-PRO%20Test%20Center%202.crt
OCSP URL :
http://testca.cryptopro.ru/ocsp/ocsp.srfCDP :
http://testca.cryptopro....TO-PRO%20Test%20Center%202.crl
Extended Key Usage : 1.3.6.1.5.5.7.3.4
=============================================================================
CryptoPro CSP: Type password for container "foo"
Password:
Error: export in pfx failed
Provider type not defined.
[ErrorCode: 0x80090017]