Import Java Trusted Certificate to JRE
- by Zalastax
I need to install a certificate from a Java app to a lot of people. I want to use a one click program or batch file to import it as a Trusted Certificate(in Control Panel-Security-Certificate). Then they won't need to press always allow first time they use the application.
I have extracted the needed certificate as both a .csr and as a .cer (the .csr via Control Panel and the .cer via keytool). Now I need to get one of them back without any clicking in menus.
I don't really understand the documentation of importing .cer with keytool and would like an example. Or are there an easier way than using keytool?