Skip to content

Commit bc8660c

Browse files
committed
document CA key generation params variable
1 parent e15894b commit bc8660c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ You need to have the Python library `cryptography` in version `>1.2.3` available
4646
* `ca_altname_2`: Second default alt name (default: `{{ ansible_fqdn }}`). Omitted when set to `null`.
4747
* `ca_altname_3`: Third default alt name (default: `{{ inventory_hostname }}`). Omitted when set to `null`.
4848
* `ca_ca_signing_key_algorithm`: CA key generation algorithm (default: `RSA`)
49+
* `ca_ca_signing_key_params`: CA key generation command options (empty by default)
4950
* `ca_ca_keylength`: CA keylength (default: `2048`)
5051
* `ca_cert`: Create certificate (default skips CA host: `{{ inventory_hostname != ca_ca_host }}`). It's up to an operator to configure the certificate for TLS client or/and TLS server.
5152
* `ca_extended_key_usage`: Configures certificate `extendedKeyUsage` field. For example, to support both client and server authentication pass `['clientAuth', 'serverAuth']` (default: omitted)

tasks/ca.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
-aes256
5050
-passout stdin
5151
-out {{ ca_ca_dir }}/ca.key
52+
{{ ca_ca_signing_key_params }}
5253
{{ ca_ca_keylength }}
5354
stdin: "{{ ca_ca_password }}"
5455
args:

0 commit comments

Comments
 (0)