IBM / ansible-for-i

the tool is to provide several customized modules for Ansible to manage IBM i systems.
GNU General Public License v3.0
54 stars 52 forks source link

community.general.java_cert #193

Open StephaneV44 opened 3 months ago

StephaneV44 commented 3 months ago

Hi,

I'm trying to use the community.general.java_cert module to import certificates to enable SSL/TLS for Navigator for i :

I have this error :

fatal: [U3ANTA12]: FAILED! => { "changed": false, "cmd": [ "keytool", "-importcert", "-noprompt", "-keystore", "/QOpenSys/QIBM/ProdData/JavaVM/jdk80/32bit/jre/lib/security/cacerts", "-file", "/QOpenSys/QIBM/ProdData/JavaVM/jdk80/32bit/jre/lib/security/PKI-GIE-DELEGUEE.crt", "-alias", "pki-gie-deleguee" ], "invocation": { "module_args": { "cert_alias": "pki-gie-deleguee", "cert_path": "/QOpenSys/QIBM/ProdData/JavaVM/jdk80/32bit/jre/lib/security/PKI-GIE-DELEGUEE.crt", "cert_port": 443, "cert_url": null, "executable": "keytool", "keystore_create": false, "keystore_pass": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "keystore_path": "/QOpenSys/QIBM/ProdData/JavaVM/jdk80/32bit/jre/lib/security/cacerts", "keystore_type": null, "pkcs12_alias": null, "pkcs12_password": null, "pkcs12_path": null, "state": "present", "trust_cacert": false } }, "msg": "", "rc": 1 }

The log shows "python version = 3.11.7" and "ansible-playbook [core 2.16.3]" being used.