Hi
I want to manage CA certs on Centos boxes and also in JVM's
I found
and
looks better.
If I was to extend to manage java certs.
this is my script
/usr/java/jdk1.6.0_30/bin/keytool -keystore /usr/java/jdk1.6.0_30/jre/lib/security/cacerts -importcert -noprompt -alias CA512 -file /etc/pki/ca-trust/source/anchors/ca512.crt -storepass changeit
how would I write this into puppet ?
I was thinking i can provide an array of locations where java is installed, then I can can find the keytool and the certstore. But how to I run a command on the client machine.
Better still how do I make sure it doesn't run all the time - every invoke ?
A