Compare commits
2 Commits
c98fae646a
...
544302140b
| Author | SHA1 | Date |
|---|---|---|
|
|
544302140b | |
|
|
61c61d7df0 |
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue