TD-322: [BACK]. [реализовать сервис для подписания документов в контейнере signer] #2

Merged
akurilenko merged 22 commits from TD-322 into main 2024-10-28 14:44:12 +03:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit c98fae646a - Show all commits

View File

@ -54,7 +54,7 @@ RUN apt update && apt install -y okular-csp-utils
RUN mkdir -p /root/.config
COPY license.key /license.key
RUN pdfcpro install-license /license.key
RUN echo Y | pdfcpro install-license /license.key
COPY Inter-Bold.ttf /usr/local/share/fonts/Inter-Bold.ttf
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

View File

@ -1,6 +1,6 @@
#!/bin/bash -x
if [[ $SITE == "prod"]];then
if [[ $APP_ENV == "prod"]];then
service pcscd start
cert=$(/opt/cprocsp/bin/amd64/csptest -keyset -enum_cont -verifyc -fq | grep Aktiv | awk -F'00 00' '{print $2}' | tr -d '\\')
/opt/cprocsp/bin/amd64/certmgr -inst -cont "${cert}" -store uMy