6
3
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?
Thanks for the Googling :( As I said I had problems understanding how to get it in. – Zalastax – 2011-05-10T18:25:00.850
I've updated my answer. – jefflunt – 2011-05-10T18:42:07.963
On the second page I think the main problem was the readability of the page. I will see if I can get it all trought – Zalastax – 2011-05-10T18:57:20.317
The problem I have now is that I don't know the password. What should enter? I didn't do anything with the certificate after I got it out from keytool. – Zalastax – 2011-05-10T19:06:50.597
I found the password out by looking in the batch file. But nothing seems to happen. After entering the right password I don't get any errors but cmd don't seem to do anything either. The certificate don't seem to be there either. – Zalastax – 2011-05-10T19:27:56.557
It seems like that batch isn't what I was looking for. It was for some sort of developing and didn't seem to work for my JRE. – Zalastax – 2011-05-10T19:38:00.173