简体   繁体   English

Java应用程序的证书吊销

[英]Certificate Revocation of Java Application

I have a Glassfish application which is using SSL Certificate authorized by private CA. 我有一个Glassfish应用程序,该应用程序使用由私有CA授权的SSL证书。 When I launched a Glassfish application in client within intranet (without internet connection), it will prompt me errors (See Image1). 当我在内联网中的客户端(没有Internet连接)中启动Glassfish应用程序时,它将提示我错误(请参见Image1)。 Both errors show that they are unable to verify if the certificate is revoked. 这两个错误都表明它们无法验证证书是否被吊销。

Image1:错误

However, when I disable the certificate revocation checks (See Image2), it does not prompt me any errors anymore. 但是,当我禁用证书吊销检查(参见Image2)时,它不再提示我任何错误。

Image2:Java控制面板

If I don't do the step above, is there any way to disable the certificate revocation check by changing Glassfish configuration? 如果我不执行上述步骤,是否可以通过更改Glassfish配置来禁用证书吊销检查?

在程序中使用-Dcom.sun.net.ssl.checkRevocation=false系统属性

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM