Skip to content

Commit

Permalink
Clean up tools tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Feb 12, 2021
1 parent 0c3f7e0 commit eb166fe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tools-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,21 @@ jobs:
dnf copr enable -y @pki/master
dnf -y localinstall build/RPMS/*
- name: Generate cert request with key
- name: Generate CA signing cert request
run: |
pki nss-cert-request \
--subject "CN=Certificate Authority" \
--ext /usr/share/pki/server/certs/ca_signing.conf \
--csr ca_signing.csr
- name: Issue self-signed cert
- name: Issue self-signed CA signing cert
run: |
pki nss-cert-issue \
--csr ca_signing.csr \
--ext /usr/share/pki/server/certs/ca_signing.conf \
--cert ca_signing.crt
- name: Import cert into
- name: Import CA signing cert
run: |
pki nss-cert-import \
--cert ca_signing.crt \
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
--free
softhsm2-util --show-slots
- name: Generate cert request with key in HSM
- name: Generate CA signing cert request with key in HSM
run: |
echo "internal=" > password.conf
echo "hardware-HSM=Secret.123" >> password.conf
Expand All @@ -150,14 +150,14 @@ jobs:
--ext /usr/share/pki/server/certs/ca_signing.conf \
--csr ca_signing.csr
- name: Issue self-signed cert
- name: Issue self-signed CA signing cert
run: |
pki --token HSM -f password.conf nss-cert-issue \
--csr ca_signing.csr \
--ext /usr/share/pki/server/certs/ca_signing.conf \
--cert ca_signing.crt
- name: Import cert into internal token and HSM
- name: Import CA signing cert into internal token and HSM
run: |
pki --token HSM -f password.conf nss-cert-import \
--cert ca_signing.crt \
Expand Down

0 comments on commit eb166fe

Please sign in to comment.