首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Introscope 8.2.2不适用于Java 7

Introscope 8.2.2不适用于Java 7
EN

Stack Overflow用户
提问于 2013-11-04 02:52:52
回答 2查看 4.2K关注 0票数 0

我最近升级到了Java1.7Patch 40。之后,当我尝试访问introscope时,我得到了以下错误:“无法验证证书。应用程序将不会被执行”。堆栈跟踪为:

代码语言:javascript
复制
sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: algorithm constraints check failed
at sun.security.validator.PKIXValidator.doValidate(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at com.sun.deploy.security.TrustDecider.getValidationState(Unknown Source)
at com.sun.deploy.security.TrustDecider.validateChain(Unknown Source)
at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.cert.CertPathValidatorException: algorithm constraints check failed
at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(Unknown Source)
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
at java.security.cert.CertPathValidator.validate(Unknown Source)
... 21 more

我使用的内窥镜版本是8.2.2。有没有办法将introscope配置为与JRE7协同工作?我可以考虑哪些解决方案?为什么introscope不能与JRE 7一起工作?

谢谢你的帮助。

EN

回答 2

Stack Overflow用户

发布于 2013-11-26 21:51:57

我在CA论坛上找到了这个答案(但页面不再可用...):

http://docs.oracle.com/javase/7/docs/technotes/guides/security/certpath/CertPathProgGuide.html#AppB -摘自上面的链接-从JDK 7u40版本开始,jdk.certpath.disabledAlgorithms的默认值如下: jdk.certpath.disabledAlgorithms=MD2,RSA keySize < 1024这意味着不会使用涉及MD2的签名算法来验证证书。并且限制使用长度小于1024位的RSA密钥大小的证书。-摘自上面的链接

JRE文件位于客户端计算机的Java/安装目录(jre/lib/security/java.security).

在Java 1.7.0_40中,默认情况下java.security具有以下设置:

jdk.certpath.disabledAlgorithms=MD2, RSA keySize < 1024

将1024更改为256将解决此问题。

票数 1
EN

Stack Overflow用户

发布于 2013-11-15 05:10:22

运行Java的ContolPanel并减少您的安全设置。警告--此设置适用于所有小程序和Java Web Start (jnlp)应用程序。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19756681

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档