Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Security
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Security
How to import Self signed Certificate to be used in java program ..???
Hassam Khan
Greenhorn
Posts: 3
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear All,
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.
Reference link:
https://coderanch.com/t/207236/sockets/java/java-io-IOException-HTTPS-hostname
Thanks,
Regards,
Hassam
Ulf Dittmer
Rancher
Posts: 43081
77
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Tomcat
can be
found here
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...