Compare commits

..

2 Commits

1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
#!/bin/bash -x #!/bin/bash -x
if [[ $APP_ENV == "prod"]];then APP_ENV=$(grep APP_ENV $DIRECTORY".env.local" | xargs)
if [[ ${APP_ENV#*=} == "prod" ]]; then
service pcscd start service pcscd start
cert=$(/opt/cprocsp/bin/amd64/csptest -keyset -enum_cont -verifyc -fq | grep Aktiv | awk -F'00 00' '{print $2}' | tr -d '\\') 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 /opt/cprocsp/bin/amd64/certmgr -inst -cont "${cert}" -store uMy