Правки
All checks were successful
Build And Push / publish (push) Successful in 1m29s

This commit is contained in:
2025-09-24 05:34:40 +03:00
parent 4e6b2f514d
commit d64320426b
2 changed files with 12 additions and 3 deletions

View File

@ -1,9 +1,17 @@
#!/bin/bash
set -e
# Set the license
cpconfig -license -set "$CRYPTOPRO_LICENSE"
# Create container folder
mkdir -p /var/opt/cprocsp/keys/appuser/cont
# Copy container
cp -r /app/cont /var/opt/cprocsp/keys/appuser/
# Install container
certmgr -inst -file /var/opt/cprocsp/keys/cert.cer -cont "$CRYPTOPRO_CONTAINER"
# certmgr -inst -file /var/opt/cprocsp/keys/cert.p7b -cont "$CRYPTOPRO_CONTAINER"
# python -m alembic upgrade head
python server.py