Skip to content

Extract certificate with private key from cryptopro 4 container

License

Notifications You must be signed in to change notification settings

IggorGor/get-cpcert

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-cpcert

Console utility to convert cryptopro4 and cryptopro5 private key (gost-2001, gost-2012) to pem file for openssl 1.1.1

Tested on alpine 3.15 for docker

how-to

  1. docker-compose up
  2. docker exec -it get-cpcert.alpine sh
  3. ./build.sh
  4. ./build/get-cpcert folder.000 [password] > private.key

About

Extract certificate with private key from cryptopro 4 container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.9%
  • Dockerfile 3.8%
  • Shell 1.3%