File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Website sucurity using https Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Website sucurity using https" Watch "Website sucurity using https" New topic

Website sucurity using https

Navdeep Singh

Joined: Nov 18, 2006
Posts: 4
hi all,
can anybody please tell me how we make a website secure using https certificates i.e. It must be opened by typing in url
thanks in advance,
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
Hello "navdeep navdeep"-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, the exact steps vary depending on which server you're using. The general approach for Tomcat, e.g., is described here. For a public web site you'd want to use a certificate from Thawte or Verisign, though, instead of a self-signed certificate.

[ UD: fixed URL ]
[ December 19, 2006: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
Navdeep Singh

Joined: Nov 18, 2006
Posts: 4
Thanks Ulf...
I appreciate your suggestion..
[ December 16, 2006: Message edited by: navdeep ]
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Please re-read the request. We require a first and last name, and it must not be fictitious.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Oh, and my answer was going to be very similar to Ulf's, but I hadn't considered adding a link to Tomcat.
I agree. Here's the link:
subject: Website sucurity using https
Similar Threads
is there a any validation API in java
p7b ssl connection errors
Making secured websites
Where can I find the Java EE 5.0 source code?
Disabling http://sitename:8080