SSLHandshakeException ValidatorException No trusted certificate found

My situation:

Client - server program. Connection from client to server is realized using SSL + keystore and truststore. Using JBoss 4.2.


When I try connect for the firs time, everything is ok. There is functionality on client, if user does no action in few minutes program suggests to repeat login operation to continue session. If I LogIn in few minutes after login dialog is shown everything is still ok., but IF I WAIT MORE THAN HOUR - I GET ERROR: No trusted certificate found. And ofcource cannot connect.

Tried: Re-add keystore and trustStore to SSLContext on Login - had not helped.

SSLContext sc = SSLContext.getInstance("SSL");
sc.init(keyManagers, trustManagers, null);
Application.keyManagers = keyManagers;
Application.trustManagers = trustManagers;

Question: Can someone suggest any operation should be done? Is there any time limits on certificate acception?


The below link might help you out, these are common issues, the server is able to present the certificate, issue might be importing certificates into trustore and public key into keystore.

Need Your Help

Unexpected end of regular expression using python

python regex web-scraping mysql-python

I am trying to scrape stock prices from Yahoo! Finance into a local database as per a tutorial by Chris Reeves, and I keep getting the above error when trying to execute this code. Can anyone tell me

How can the TCP socket creation class gets notified that one new peer is added to the registry?

java multithreading tcp hashmap p2p

I am implementing a P2P service. The idea is using UDP to search for peers and build it's own registry. And using TCP to do the real communication.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.