Praveen Verma

Greenhorn
+ Follow
since Sep 22, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Praveen Verma

I have 2 apps installed on 2 different servers (1) hosted in glassfish (2) a batch server (standalone java app). Both apps are using a common java program (in form of a jar file) to call an external server. I am using 'CloseableHttpClient' to make connection to that external third party server. from my server one (glassfish) I am able to call and get response from the external server but same program on batch server is throwing below SSL exceptoion


Note - this exception is being thrown only from batch server not from the admin server (hosted in glassfish).

After googling this error found that certificate obtained by external server might not be issued by some trusted authority so i imported certificate by using 'installCert' (this java program).

Now verified the certificate in cacert using keytool command

keytool -list -keystore cacerts



and i can see that external certificate is listed in trusted certificates list. but still getting above SSL exception.

Any thoughts guys? why i am not getting any sort of SSL expectation from admin server (glassfish) which is also using same java code? Does glassfish automatically imports certificates just like browsers do?
8 years ago
hi priyanka,

struts has it inbuilt as a functionality.
check here
12 years ago