Solved

Server Cert

Posted on 2002-07-10
5
204 Views
Last Modified: 2010-03-31
I have written a function to connect to secure server and will use server certificate if needed. I wanna know is there any public secure site (using server cert) which will allow me to test out my function? Thanks
**Urgent**
0
Comment
Question by:cHEo
[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
5 Comments
 
LVL 3

Accepted Solution

by:
msterjev earned 50 total points
ID: 7145580
Go to the:

https://www.verisign.com 


If you are using raw Sockets then use:

Socket socket=new Socket("www.verisign.com",443)

but, this way you must write the whole handshake protocol!
0
 

Author Comment

by:cHEo
ID: 7145640
Can you give me the sample of code, on building connection and specifying the usage of server certificate?
0
 
LVL 3

Expert Comment

by:msterjev
ID: 7145807
If you are using Java 1.4 there is already present JSSE (Java Secure Socket Extension). If you are using some version bellow, you need to install JSSE from java.sun.com.
There are a lot of examples in JSSE Developers Guide,with full explanation and sample codes.

In both cases, you should download JSSE Reference Guide for explanation of using Secure Socket Layer in Java.
Download it from:
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
0
 
LVL 5

Expert Comment

by:vemul
ID: 7887936
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points to msterjev

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7959658
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

707 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