![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
https
Biu→Biu丶
这个作者很懒,什么都没留下…
展开
-
springboot之https服务器(生成keystore证书库及转cer证书)
一. 生成自签名证书打开cmd输入命令生成证书:keytool -genkeypair -alias tomcat_https -keypass 123456 -keyalg RSA -keysize 1024 -validity 365 -keystore ./https-java.keystore -storepass 123456属性说明:-alias 别名-keypass 指定生成密钥的密码-keyalg 指定密钥使用的加密算法(如 RSA)-keysize 密钥大小-val原创 2020-11-03 10:31:46 · 2963 阅读 · 0 评论 -
.keystore生成.cer及.pfx及.key
1. 生成.keystore我的另一篇博客2. .keystore转.cerkeytool -exportcert -keystore server.keystore -rfc -file server1.cer -alias tomcat -storepass 1234563. .keystore转.pfx这里我没有找到更简便的方法, 找到的大佬希望指点一下。我这里用代码转换:// .keystore转.pfxpublic class Text { public static原创 2020-12-24 11:53:56 · 1344 阅读 · 2 评论