因為加入了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