Solved

Java SSL error

Posted on 2009-05-06
4
279 Views
Last Modified: 2013-11-23
Hi,

I am trying to access a url in java. Its certificate has either expired or slf signed. Now, I wanted to know how can I bypass this problem and access the content of that url in our application?
0
Comment
Question by:aniruddhp
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 24322735
0
 
LVL 33

Expert Comment

by:Dave Howe
ID: 24324187
self signed - import the cert into your keystore using http://yellowcat1.free.fr/index_ktl.html

expired - no real fix for this, other than changing workstation date/time to within validity range then bugging site owner to update his cert :(
0
 

Expert Comment

by:michaels777
ID: 25288994
To bypass this problem you can compile and run a small program called InstallCert. For more information and source code see http://blogs.sun.com/andreas/entry/no_more_unable_to_find
Works like a charm.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
session migration servlets 2 37
nextBoolean(double p) for Random class 3 40
servlet example 11 40
Review of OCA certificate policy 1 17
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question