Wednesday, March 11, 2009

Importar certificado JVM

Pra guardar...
Abaixo comando de import do certificado digital para jvm:

$ keytool -import -trustcacerts -keystore <%JAVA_HOME%>\jre\security\lib\
    cacerts -storepass changeit -noprompt -alias mycert -file mycert.cer

mycert=nome do certificado.

3 comments:

Unknown said...
This comment has been removed by the author.
Unknown said...
This comment has been removed by the author.
Unknown said...

Precisei desse comando esses dias e nao lembrava.

Agora já sei onde procura!!

Documentação:
http://java.sun.com/javase/6
/docs/technotes/tools/windows/
keytool.html

Abraço
T+