Skip to content

PHP CryptoPro Service (docker) with HTTP API

Notifications You must be signed in to change notification settings

vendelev/docker-cryptopro-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP CryptoPro Service (docker) with HTTP API

Installation

  • copy env-example to .env
  • change LICENSE for set license or use trial (90 days)
  • add private and public keys to ./certificates folder
  • change PUBLIC_KEY_FILE_NAME & PRIVATE_KEY_FOLDER_NAME for install keys to cryptopro
  • change CRYPTOPRO_LOGIN & CRYPTOPRO_PASSWORD variables (if cryptopro blocked credentials from example)
  • add certificate for import to folder certificate
  • run docker-compose build

Docker

Container based on phusion image.

Installed services:

  • PHP 7.3 (CLI & FPM)
  • NGINX
  • CryptoPro PHP extension

HTTP API

Swagger documentation: http://localhost:81/docs/index.html

Methods:

  • Get certificates list
  • Sign file
  • Verify file signature

About

PHP CryptoPro Service (docker) with HTTP API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.4%
  • Dockerfile 6.3%
  • HTML 3.8%
  • Shell 0.5%