Version: 1.3.0
This role signs a subordinate CA certificate on a Windows machine.
Platform | Versions |
---|---|
Windows |
|
Collection |
---|
ansible.windows |
community.windows |
Option | Description | Type | Required | Choices | Default |
---|---|---|---|---|---|
winsubca_renewal_days | Number of days before certificate expiration to renew. |
int | no | 30 | |
winsubca_request_config_file_temp_path | Path to store the temporary request configuration file. |
path | no | C:\Windows\temp\cacert.inf | |
winsubca_request_file_temp_path | Path to store the temporary request file. |
path | no | C:\Windows\temp\cacert.req | |
winsubca_signing_ca_cert_file_temp_path | Path to the signing CA certificate file. |
path | no | C:\Windows\temp\signingcacert.crt | |
winsubca_cert_file_temp_path | Path to store the signed certificate file. |
path | no | C:\Windows\temp\cacert.crt | |
winsubca_ca_common_name | Common name of the Certificate Authority. |
str | yes | ||
winsubca_ca_distinguished_name_suffix | Distinguished name suffix of the Certificate Authority. |
str | yes | ||
winsubca_signing_ca_hostname | Ansible inventory hostname of the signing CA. |
str | yes | ||
winsubca_signing_ca_fqdn | Fully qualified domain name of the signing CA. If |
str | no | {{ hostvars[winsubca_signing_ca_hostname].ansible_fqdn }} | |
winsubca_signing_ca_common_name | Common name of the signing CA. If |
str | no | ||
winsubca_signing_ca_config | Configuration string for the signing CA. |
str | no | {{ winsubca_signing_ca_fqdn }}{{ winsubca_signing_ca_common_name }} | |
winsubca_rootca_file_path | Path to the root CA certificate file. |
path | no | C:\Windows\system32\CertSrv\CertEnroll{{ winsubca_signing_ca_fqdn }}_{{ winsubca_signing_ca_common_name }}.crt | |
winsubca_cert_line_break_character | Line break character for the certificate file. |
str | no | \r\n |
MIT
Jim Tarpley (@trippsc2)