本地利用JDK工具生成证书
1.keytool -genkey -keyalg RSA -keystore tomcat.jks
2.keytool -importkeystore -srckeystore tomcat.jks -destkeystore tomcat.pkcs12 -deststoretype pkcs12
验证是否成功
keytool -list -v keystore tomcat.jks
keytool -list -v keystore tomcat.pkcs12
并修改yaml文件
参考原文:https://blog.csdn.net/m0_55070913/article/details/126617084
标签:keystore,keytool,SpringBoot,tomcat,pkcs12,jks,接口,https From: https://www.cnblogs.com/yzjBlog123123/p/17351927.html