SSL keystore generation

Phoenix Phoenix 2018.8.13 10:46 View(100) Comment (0)

keytool -v -genkey -alias cas -keyalg RSA -keystore C:\Java\keystore\thekeystore.keystore  -validity 36500

keytool -export -file C:\Java\keystore\cas.crt -keystore C:\Java\keystore\thekeystore.keystore -alias cas

keytool -import -keystore C:\Java\jdk1.8.0_144\jre\lib\security\cacerts -file C:\Java\keystore\cas.crt -alias cas
keytool -list -keystore "C:\Java\jdk1.8.0_144\jre\lib\security\cacerts" | findstr /i cas

keytool -delete -alias cas -keystore C:\Java\jdk1.8.0_144\jre\lib\security\cacerts -storepass changeit

本文链接 https://www.mangoxo.com/blog/G8o1GpDK 版权所有,转载请保留地址链接,感谢!

Latest Comments :