mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c81ea00a97
* import certificate+key bundle from pkcs12
* fix typo/syntax
* fix variable name
* fix passwords order and improve error handling
* add changelog fragment
* enter keystore pass only once if keystore already exists, and twice at creation
* nomalize tests
- Replace `command` tasks by dedicated (community.crypto) modules.
- Add spaces around jinja2 variable names.
- Call modules by their FQCNs.
* Add tests to check keystore has a private key
fix tests for RedHat/CentOS < 8 (run openssl command as an alternative to
`openssl_pkcs12` module)
(cherry picked from commit 21d5668c97
)
Co-authored-by: quidame <quidame@poivron.org>
15 lines
557 B
YAML
15 lines
557 B
YAML
---
|
|
test_pkcs12_path: testpkcs.p12
|
|
test_keystore_path: keystore.jks
|
|
test_keystore2_path: "{{ output_dir }}/keystore2.jks"
|
|
test_keystore2_password: changeit
|
|
test_cert_path: "{{ output_dir }}/cert.pem"
|
|
test_key_path: "{{ output_dir }}/key.pem"
|
|
test_csr_path: "{{ output_dir }}/req.csr"
|
|
test_cert2_path: "{{ output_dir }}/cert2.pem"
|
|
test_key2_path: "{{ output_dir }}/key2.pem"
|
|
test_csr2_path: "{{ output_dir }}/req2.csr"
|
|
test_pkcs_path: "{{ output_dir }}/cert.p12"
|
|
test_pkcs2_path: "{{ output_dir }}/cert2.p12"
|
|
test_ssl: setupSSLServer.py
|
|
test_ssl_port: 21500
|