ansible/test/integration/targets/openssl_certificate/tasks
Felix Fontein caf7fd2245 openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489)
* Raise OpenSSLBadPassphraseError if passphrase is wrong.

* Improve handling of passphrase errors.

Current behavior for modules is: if passphrase is wrong (or wrongly specified), fail.
Current behavior for openssl_privatekey is: if passphrase is worng (or wrongly specified), regenerate.

* Add changelog.

* Add tests.

* Adjustments for some versions of PyOpenSSL.

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

Improve text.

Co-Authored-By: felixfontein <felix@fontein.de>
2019-03-08 16:21:18 +00:00
..
assertonly.yml openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00
expired.yml openssl_certificate, fixed has_expired to check the cert expiration date (#53168) 2019-03-02 00:37:28 +01:00
main.yml openssl_certificate: make sure extensions are present when they are queried by assertonly (#53207) 2019-03-05 00:09:48 +01:00
ownca.yml openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00
selfsigned.yml openssl_*: improve passphrase handling for private keys in PyOpenSSL (#53489) 2019-03-08 16:21:18 +00:00