patchback[bot]
eee646b636
openssl_csr: fix bad tests, avoid accepting invalid crl_distribution_points records ( #560 ) ( #561 )
...
* Improve error handling.
* Remove invalid tests.
* Add changelog fragment.
* Fix tests.
* Improve exception catching.
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
* Prevent empty full_name.
* Fix condition. Make sure errors are caught.
* Add more checks.
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
(cherry picked from commit ddfb18b609
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-02 17:28:28 +01:00
patchback[bot]
b9e8bb70eb
Fix docs ( #497 ) ( #498 )
...
* Fix docs.
* Fix YAML.
* Prevent crashes with older pyyaml versions.
(cherry picked from commit 2dafef1fab
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-04 20:17:55 +02:00
Felix Fontein
9658a34605
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters. ( #253 )
2021-06-26 13:45:28 +02:00
Felix Fontein
69335a8bac
Refactor x509_certificate module, add x509_certificate_pipe module ( #135 )
...
* Move documentation to doc fragment.
* Prepare module backends.
* Linting.
* Fix comments.
* First shot at actually moving code.
* Forgot SKI check.
* Remove unused imports.
* Improve check mode.
* Fix 'returned'.
* Move csr_* checks.
* Explicitly specify parameter.
* Add x509_certificate_pipe module.
* Update other seealsos.
* Forgot to remove doc fragment.
* Adjust to work with macOS 10.15.
* Update plugins/module_utils/crypto/module_backends/certificate_entrust.py
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
* Add changelog fragments for entrust bugfix and module refactorings.
* Restore old behavior of Entrust backend when existing certificate cannot be parsed.
* Update plugins/modules/x509_certificate_pipe.py
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
* Remove Entrust provider from x509_certificate_pipe for now.
* Add own CA tests.
* One more fix for Entrust provider, when csr_content is used.
* Update plugins/modules/x509_certificate_pipe.py
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
* Fix another broken example.
* Revert "Remove Entrust provider from x509_certificate_pipe for now."
This reverts commit 6ee5d7d4f99f0fe2218276a2d3f1f38b676c29b9.
* ci_complete
* Apply suggestions from code review
Co-authored-by: MarkusTeufelberger <mteufelberger@mgit.at>
* Improve example.
* Improve readability of example, add another one.
* Extend descriptions of csr_* for selfsigned.
* Improve documentation.
* Move deprecation message up.
* Explain empty choices.
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
Co-authored-by: MarkusTeufelberger <mteufelberger@mgit.at>
2020-11-24 17:21:52 +01:00
Felix Fontein
9792188b0e
Refactor openssl_csr module, add openssl_csr_pipe module ( #123 )
...
* Extract doc fragment from openssl_csr.
* Refactor openssl_csr module into backend + module.
* Add openssl_csr_pipe module.
* Add seealso references.
* ...
* Use /dev/stdin instead of -, which seems to be only supported by newer openssl versions.
* Bump version.
* DRY: use select_message_digest.
* Fix deprecation version in docs.
* Docs improvements.
* Improve argument spec handling for module backends.
* Linting.
* Fix linting problems by using kwargs.
2020-10-27 12:37:40 +01:00