@ -17,6 +17,13 @@
subject:
subject:
commonName : www.example.com
commonName : www.example.com
- name : (Selfsigned, {{select_crypto_backend}}) Generate CSR
openssl_csr:
path : '{{ output_dir }}/csr_minimal_change.csr'
privatekey_path : '{{ output_dir }}/privatekey.pem'
subject:
commonName : www.example.org
- name : (Selfsigned, {{select_crypto_backend}}) Generate selfsigned certificate
- name : (Selfsigned, {{select_crypto_backend}}) Generate selfsigned certificate
openssl_certificate:
openssl_certificate:
path : '{{ output_dir }}/cert.pem'
path : '{{ output_dir }}/cert.pem'
@ -47,6 +54,17 @@
select_crypto_backend : '{{ select_crypto_backend }}'
select_crypto_backend : '{{ select_crypto_backend }}'
check_mode : yes
check_mode : yes
- name : (Selfsigned, {{select_crypto_backend}}) Generate selfsigned certificate (check mode, other CSR)
openssl_certificate:
path : '{{ output_dir }}/cert.pem'
csr_path : '{{ output_dir }}/csr_minimal_change.csr'
privatekey_path : '{{ output_dir }}/privatekey.pem'
provider : selfsigned
selfsigned_digest : sha256
select_crypto_backend : '{{ select_crypto_backend }}'
check_mode : yes
register : selfsigned_certificate_csr_minimal_change
- name : (Selfsigned, {{select_crypto_backend}}) Check selfsigned certificate
- name : (Selfsigned, {{select_crypto_backend}}) Check selfsigned certificate
openssl_certificate:
openssl_certificate:
path : '{{ output_dir }}/cert.pem'
path : '{{ output_dir }}/cert.pem'