diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-07-21 04:32:58 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-07-21 04:32:58 +0200 |
commit | d62ea0eca2a05a7059f071296250c63e9ea9b347 (patch) | |
tree | f1516e945bf0e3098999c900bc0d5b36e84aaa90 /scripts/root-admin-init.sh | |
parent | 810406fecc39b0214af5d21fee0ca8beb9568f98 (diff) | |
download | pki-dev-d62ea0eca2a05a7059f071296250c63e9ea9b347.tar.gz pki-dev-d62ea0eca2a05a7059f071296250c63e9ea9b347.tar.xz pki-dev-d62ea0eca2a05a7059f071296250c63e9ea9b347.zip |
Added CMC scripts.
Diffstat (limited to 'scripts/root-admin-init.sh')
-rwxr-xr-x | scripts/root-admin-init.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/root-admin-init.sh b/scripts/root-admin-init.sh new file mode 100755 index 0000000..f30990f --- /dev/null +++ b/scripts/root-admin-init.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +pki -c Secret.123 client-init --force + +pki -c Secret.123 client-cert-import "Root CA Signing Certificate" --ca-server + +pki -c Secret.123 client-cert-import \ + --pkcs12 ~/.dogtag/pki-tomcat/ca_admin_cert.p12 \ + --pkcs12-password Secret.123 + +#pki -c Secret.123 pkcs12-import \ +# --pkcs12-file ~/.dogtag/pki-tomcat/ca_admin_cert.p12 \ +# --pkcs12-password Secret.123 |