I have a web application that uses Java 7 and wanted to get it 'pre-approved' - which used to be easy with Apple's Java 6 as the certificates were originally distributed with MCX back in the day (which would now be done into the system keystore via Casper certificate distribution).
But I don't think there's a way to do this for Java 7 is there? I was feeling very pleased when I found the 'system' certificate store at
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/trusted.certs
and have got myself as far as importing a cert with keytool
keytool -importcert -noprompt -file mynewcert -keystore trusted.certs
But that requires an inline interactive password setting. Is there a better way of going around doing this. It's a lot of work when I could just e-mail everyone saying "when it comes up the first time tick the OK, and don't ask again" and that will put it in their user home (~/Application Support/Oracle/Java/Deployment/security/trusted.certs)