Solved

Java SSL error

Posted on 2009-05-06
4
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

630 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