JCE cannot authenticate the provider BC
2017-11-29 10:00
549 查看
JCE cannot authenticate the provider BC
解决办法:修改 JAVA_HOME\jre\lib\security\java.security 文件
添加如下内容
security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider
其中security.provider.11中的11是根据已有的配置行顺序而定的,如下
security.provider.1=sun.security.provider.Sun
security.provider.2=sun.security.rsa.SunRsaSign
security.provider.3=sun.security.ec.SunEC
security.provider.4=com.sun.net.ssl.internal.ssl.Provider
security.provider.5=com.sun.crypto.provider.SunJCE
security.provider.6=sun.security.jgss.SunProvider
security.provider.7=com.sun.security.sasl.Provider
security.provider.8=org.jcp.xml.dsig.internal.dom.XMLDSigRI
security.provider.9=sun.security.smartcardio.SunPCSC
security.provider.10=sun.security.mscapi.SunMSCAPI
security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider
2.在JAVA_HOME\jre\lib\ext 文件夹中加如下jar,如果有其他的bc jar请删除。
bcprov-jdk15on-1.58.jar
bcprov-jdk15on-1.58.jar maven地址,点击跳转
相关文章推荐
- Decipher加密工具报错:JCE cannot authenticate the provider BC 解决方法
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- 运行jar包出现问题:java.lang.SecurityException: JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- java.lang.SecurityException: JCE cannot authenticate the provider BC
- JCE cannot authenticate the provider CryptixCrypto
- 关于 WMI Provider 不能连接的错误 - Cannot connect to WMI provider. You do not have permission or the server is unreachable.
- SVN:cannot map the project with svn provider 问题解决
- SVN:cannot map the project with svn provider问题的解决办法
- 已解决:无法连接到WMI提供程序。你没有权限或者该服务器无法访问/cannot connect to WMI provider. You do not have permission or the……
- Cannot connect to WMI provider.You do not have permission or the server is unreachable.Note that you can only manager SQL Server 2005 and later version with SQL Server Configuration Manager.Invalid namespace [0x8004100e]
- ADO.NET Entity framework 连接MySql 提示The specified store provider cannot be found in the configuration
- 运行SQL server2005 配置管理工具出现“Cannot connect to WMI provider. You do not have permmission or the server”
- There was a failure while initializing the Microsoft Visual SourceSafe source control provider. You cannot use this prov