ansible-for-i
ansible-for-i copied to clipboard
Certificate upload using Ansible
Hello,
Do you anyway to upload certificate on IBMi using ansible?
Do you mean upload a certificate file to an IFS directory? I think both Ansible Core itself and IBMi collection have modules to support that. If you mean upload certificate or create the certificate by DCM of IBMi, I don't think we support that now.
Thanks for your reply.
Today we are importing and assigning certificate using DCM. We want to automate this part. Do we have any ansible module on IBMi which can automate this importing/assigning of certificate by DCM.
We don't have a module to support DCM stuff now. However, you may create a few playbooks and leverage some DCM tools. For example, there is non-official tool https://github.com/ThePrez/DCM-tools. You may create some Ansible playbooks to setup the tool on your IBM i systems, then call the commands provided by the tool to import/export certificate to/from DCM. Again, the tool is currently still under development and without complete testing. Proceed at your own risk.