编程语言/keystore:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
 
第2行: 第2行:
{{shc|<syntaxhighlight lang="bash">
{{shc|<syntaxhighlight lang="bash">
openssl pkcs12 -export -in _.bingo.qihoo.net.crt -inkey ../_.bingo.qihoo.net.key -out bingo.p12</syntaxhighlight>|$|/home/kangkk}}
openssl pkcs12 -export -in _.bingo.qihoo.net.crt -inkey ../_.bingo.qihoo.net.key -out bingo.p12</syntaxhighlight>|$|/home/kangkk}}
 
生成。
{{Shc_out|<syntaxhighlight lang="bash">
{{Shc_out|<syntaxhighlight lang="bash">
keytool -importkeystore -v  -srckeystore bingo.p12 -srcstoretype pkcs12 -srcstorepass 生成p12设置的密码 -destkeystore bingo.keystore -deststoretype jks -deststorepass 设置keystore的密码</syntaxhighlight>|<syntaxhighlight lang="bash">正在将密钥库 bingo.p12 导入到 bingo.keystore...
keytool -importkeystore -v  -srckeystore bingo.p12 -srcstoretype pkcs12 -srcstorepass 生成p12设置的密码 -destkeystore bingo.keystore -deststoretype jks -deststorepass 设置keystore的密码</syntaxhighlight>|<syntaxhighlight lang="bash">正在将密钥库 bingo.p12 导入到 bingo.keystore...
第12行: 第12行:
JKS 密钥库使用专用格式。建议使用 "keytool -importkeystore -srckeystore bingo.keystore -destkeystore bingo.keystore -deststoretype pkcs12" 迁移到行业标准格式 PKCS12。
JKS 密钥库使用专用格式。建议使用 "keytool -importkeystore -srckeystore bingo.keystore -destkeystore bingo.keystore -deststoretype pkcs12" 迁移到行业标准格式 PKCS12。
</syntaxhighlight>|$|/home/kangkk}}
</syntaxhighlight>|$|/home/kangkk}}
查看。
{{shc|<syntaxhighlight lang="bash">
keytool -v -list -keystore bingo.keystore</syntaxhighlight>|$|/home/kangkk}}