[英]SSL Certificate Upgrade causing Issues
We are talking to a remote server for authenticating a user. 我们正在与远程服务器进行身份验证。 The web server uses a SSL certificate signed by Verisign.
Web服务器使用由Verisign签名的SSL证书。 The data is exchanged over HTTPs and we have configured our
ThreadSafeClientConnManager
to use the JVM default SSL factory: 数据是通过HTTP交换的,我们已经将
ThreadSafeClientConnManager
配置为使用JVM默认的SSL工厂:
SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register(new Scheme("http", PlainSocketFactory
.getSocketFactory(), 80));
schemeRegistry.register(new Scheme("https", SSLSocketFactory
.getSocketFactory(), 443));
ClientConnectionManager manager = new ThreadSafeClientConnManager(
sDefaultHttpParams, schemeRegistry);
Recently, the web server updated their SSL certificates and this has caused our application to break. 最近,Web服务器更新了其SSL证书,这导致我们的应用程序损坏。 What can we do to avoid this problem?
我们怎样做才能避免这个问题?
Please help. 请帮忙。
There is nothing you can really do to "avoid" the problem because it isn't really a problem, it is a core "feature" of SSL certificates and authority trust. 您真的无法采取任何措施来“避免”该问题,因为这并不是真正的问题,它是SSL证书和授权信任的核心“功能”。
This is a pretty broad question, more detail could help pinpoint the exact problem, but here are the first 2 things to check. 这是一个相当广泛的问题,更多细节可以帮助您找到确切的问题,但这是需要检查的前两件事。
http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/keytool.html http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/keytool.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.