Skip to content

Commit

Permalink
Update mac.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeClub committed Aug 28, 2022
1 parent 5a10588 commit a043f68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AnyConnect/mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ if [[ -f "${CERT_TMP}.p12" ]]; then
openssl pkcs12 -export -inkey "${CERT_TMP}_Key.pem" -in "${CERT_TMP}_Cert.pem" -certfile "${CERT_TMP}_CA.pem" -out "${CERT_TMP}_New.p12" -passout pass:NewCert
security import "${CERT_TMP}_New.p12" -P "NewCert"
rm -rf "${CERT_TMP}.p12" "${CERT_TMP}_New.p12" "${CERT_TMP}_CA.pem" "${CERT_TMP}_Cert.pem" "${CERT_TMP}_Key.pem"
exit 0
fi
exit 0
exit 1

0 comments on commit a043f68

Please sign in to comment.