Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
how-to:java-import-certificato-ssl [2015/01/20 12:24] – Giuseppe Di Terlizzi | how-to:java-import-certificato-ssl [2015/03/09 09:54] – Giuseppe Di Terlizzi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Java: Import | + | ====== Java: Import |
{{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> |
+ | | ||
+ | </ | ||
</ | </ | ||
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> |
+ | | ||
+ | </ | ||
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 ===== | ||
Line 60: | Line 70: | ||
* [[man> | * [[man> | ||
- | {{tag> | + | {{tag> |