Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revisionBoth sides next revision | ||
how-to:java-import-certificato-ssl [2015/01/20 19:17] – Giuseppe Di Terlizzi | how-to:java-import-certificato-ssl [2015/03/09 09:54] – Giuseppe Di Terlizzi | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{http:// | {{http:// | ||
- | Un caso comune che richiede l' | + | Un caso comune che richiede l' |
<WRAP center round alert 90%> | <WRAP center round alert 90%> | ||
Line 19: | Line 19: | ||
<WRAP center round important 90%> | <WRAP center round important 90%> | ||
- | Per importare il certificato è necessario avere l' | + | Per importare il certificato è necessario avere l' |
</ | </ | ||
Line 25: | Line 25: | ||
Possiamo dare al file del keystore i permessi **0777** in modo da poter effettuare questa operazione anche con un' | Possiamo dare al file del keystore i permessi **0777** in modo da poter effettuare questa operazione anche con un' | ||
+ | <WRAP terminal> | ||
# chmod 0777 $JAVA_HOME/ | # chmod 0777 $JAVA_HOME/ | ||
+ | </ | ||
</ | </ | ||
Line 31: | Line 33: | ||
Per sicurezza facciamo il backup del file **cacerts** presente nella directory '' | Per sicurezza facciamo il backup del file **cacerts** presente nella directory '' | ||
+ | <WRAP terminal> | ||
# cp $JAVA_HOME/ | # cp $JAVA_HOME/ | ||
+ | </ | ||
Importiamo il certificato nel keystore con il seguente comando: | Importiamo il certificato nel keystore con il seguente comando: | ||
- | | + | <WRAP terminal> |
- | | + | |
+ | | ||
+ | -alias alias-cert -file / | ||
+ | </ | ||
I parametri utilizzati sono: | I parametri utilizzati sono: | ||
Line 54: | Line 61: | ||
Verifichiamo che il certificato sia stato importato correttamente: | Verifichiamo che il certificato sia stato importato correttamente: | ||
- | | + | <WRAP terminal> |
+ | | ||
+ | | ||
+ | </ | ||
===== Per maggiori informazioni ===== | ===== Per maggiori informazioni ===== |