You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Generate an OpenSSL certificate signed with your Step-CA
become: true
ansible.builtin.shell:
cmd: step-cli certificate sign --profile intermediate-ca --token $(step-cli ca token ca.mydomain.int --ca-url https://ca.mydomain.int --root root_ca.crt --password-file /etc/step-ca/.password.txt) ipa.csr ipa.crt | sudo tee -a ipa.crt
chdir: /etc/step-ca/certs
register: generate_ipa_crt
vars:
ansible_ssh_pipelining: no
- name: stderr
debug: msg="{{ generate_ipa_crt.stderr }}"
Get error:
msg: |-
cannot create a new token: the CA does not have any provisioner configured
flag provided but not defined: -token
What type of provisioner i need configured for sign cert for SubCA?
The text was updated successfully, but these errors were encountered:
patsevanton
changed the title
Setting provisioner for sign CA certificate by step ca token
Setting provisioner for sign SubCA certificate by step ca token
May 11, 2024
Hello! Thanks for ansible-collection-smallstep!
I install step-ca by role with variable:
I try create certificate for SubCA
Get error:
What type of provisioner i need configured for sign cert for SubCA?
The text was updated successfully, but these errors were encountered: