Skip to content

Extract certificate with private key from cryptopro 4 container

License

Notifications You must be signed in to change notification settings

kerstvo/get-cpcert

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-cpcert

Console utility to convert cryptopro4 certificate (gost-2001, gost-2012) into pem file for openssl 1.1.1

usage

get-cpcert folder.000 password > certificate.pem

build

Tested on ubuntu 14.04 LTS 64bit

prepare.sh -- download,build & install openssl 1.1.1 & gost-engine + cmake
  it takes about 530Mb disk space and 20min to build on my notebook
  (365Mb cmake, 127Mb openssl, 6.8Mb engine)

build.sh -- build get-cpcert
  it outputs get-cpcert and libgost.so

prebuild binaries

get-cpcert-bin.tar.gz -- contains prebuild binaries for ubuntu 14.04 64bit and 3 samples for testing

About

Extract certificate with private key from cryptopro 4 container

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 87.7%
  • Shell 12.3%