Java证书相关
- 摘要:创建证书keytool-genkey-aliaswsria-keyalgRSA-keystored:/keys/wsriakey导出证书D:\keys>keytool-export-filed:/keys/wsria.crt-aliaswsria-keystored:/keys/wsriakey导入证书keytool-import-keystoreD:\tools\jdk\1.6\jdk1.6.0_20\jre\lib\security\cacerts-fileD:/keys/wsria
- 标签:Java
创建证书
keytool -genkey -alias wsria -keyalg RSA -keystore d:/keys/wsriakey
导出证书
D:\keys>keytool -export -file d:/keys/wsria.crt -alias wsria -keystore d:/keys/wsriakey
导入证书
keytool -import -keystore D:\tools\jdk\1.6\jdk1.6.0_20\jre\lib\security\cacerts -file D:/keys/wsria.crt -alias wsria