File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to import Self signed Certificate to be used in java program ..???
Joined: Dec 21, 2006
Dec 28, 2006 11:15:00
Can anyone have idea how to import Self-signed certificate? I want to connect a https URL having self-signed certificate. When i tried to hit from program get the following error:
"unable to find valid certification path to requested target"
I have the Certificate file.
Joined: Mar 22, 2005
Dec 30, 2006 10:09:00
Welcome to JavaRanch.
Is this a certificate you want to use in the browser as a client certificate, or one you use on the server, so as to enable SSL?
If the latter, that depends on the server. E.g., instructions for
I agree. Here's the link:
subject: How to import Self signed Certificate to be used in java program ..???
Exception java.io.IOException: HTTPS hostname wrong:
Queries on role of files .keystore and CAKey.pem while moving the site to https?
Certificate problem: No subject alternative names present
calling servlet from java class
connect to a SOAP webservice using SSL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014