EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 78addfca authored by Karl Grube's avatar Karl Grube
Browse files

root_crt work

parent 8c2ec4c8
Branches main
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
msg: "If the next task fails, then you need to decrypt the ansible vault." msg: "If the next task fails, then you need to decrypt the ansible vault."
- name: create root certificate - name: create root certificate
expect: expect:
command: "openssl req -config {{root_ca_ini}} -engine pkcs11 -keyform engine -key {{root_ca_hsm_key[0].id}} -new -x509 -days 3650 -sha512 -extensions v3_ca -out {{root_ca_crt}}" command: "openssl req -config {{root_ca_ini}} -engine pkcs11 -keyform engine -key {{root_ca_hsm_key.id}} -new -x509 -days 3650 -sha512 -extensions v3_ca -out {{root_ca_crt}}"
responses: responses:
Enter PKCS#11 token PIN: "{{hsm_pin}}" Enter PKCS#11 token PIN: "{{hsm_pin}}"
chdir: "{{ca_dir}}" chdir: "{{ca_dir}}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment