Skip to content

Commit

Permalink
Replace pki client-cert-import
Browse files Browse the repository at this point in the history
The CI tests has been updated to use pki nss-cert-import and
pki pkcs12-import commands to import certs and PKCS #12 files.
  • Loading branch information
edewata committed Jul 9, 2024
1 parent 9d622f6 commit e26991d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/pki-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,16 @@ jobs:
- name: Verify CA admin
run: |
docker exec pki pki-server cert-export ca_signing --cert-file ca_signing.crt
docker exec pki pki client-cert-import ca_signing --ca-cert ca_signing.crt
docker exec pki pki client-cert-import \
docker exec pki pki nss-cert-import \
--cert ca_signing.crt \
--trust CT,C,C \
ca_signing
docker exec pki pki pkcs12-import \
--pkcs12 /root/.dogtag/pki-tomcat/ca_admin_cert.p12 \
--pkcs12-password Secret.123
docker exec pki pki -n caadmin ca-user-show caadmin
- name: Gather artifacts
Expand Down

0 comments on commit e26991d

Please sign in to comment.