因为加入了jdk的第三方安全库,需要额外配置
1.下载bcprov-jdkxx-xxx.jar
2.将bcprov-jdkxx-xxx.jar放入$JAVA_HOME/jre/lib/ext下
3.打开$JAVA_HOME/jre/lib/security下的java.security文件,在末尾加上
security.provider.x=org.bouncycastle.jce.provider.BouncyCastleProvider
https://blog.csdn.net/u014227715/article/details/77160846
https://www.cnblogs.com/castielangel/p/10303472.html