1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Warn user to send a password if the privatekey is password protected (#53360)

* Warn user to send a password if the privatekey is password protected

* Edit openssl_cert doc change

* remove trailing whitespace

* update openssl_csr doc to warn user of private key passphrase requirement.

* Update lib/ansible/modules/crypto/openssl_csr.py

Co-Authored-By: johnwesley <johnwesley@users.noreply.github.com>

* grammer correction, privatekey => private key
This commit is contained in:
John Wesley 2019-03-08 03:24:54 -05:00 committed by John R Barker
parent b45b599433
commit 853f65059a
3 changed files with 5 additions and 3 deletions

View file

@ -77,6 +77,7 @@ options:
privatekey_passphrase:
description:
- The passphrase for the I(privatekey_path).
- This is required if the private key is password protected.
type: str
selfsigned_version:

View file

@ -40,12 +40,13 @@ options:
default: sha256
privatekey_path:
description:
- The path to the privatekey to use when signing the certificate signing request.
- The path to the private key to use when signing the certificate signing request.
type: path
required: true
privatekey_passphrase:
description:
- The passphrase for the privatekey.
- The passphrase for the private key.
- This is required if the private key is password protected.
type: str
version:
description:

View file

@ -56,7 +56,7 @@ options:
required: true
privatekey_passphrase:
description:
- The passphrase for the privatekey.
- The passphrase for the private key.
type: str
version_added: "2.4"
extends_documentation_fragment: