I am pondering the use of the Ansible java_cert module to import certificate from trusted sites.
Using bash this can be accomplished using the following