On Thu, 10 Jun 1999, Gaurav Kishore wrote:

> Hi Andras,
> I am also facing a similar problem. Though I am using Apache
> JServ. Question is does servlets support SSL?

Well, if you mean can servlets work with a secure (https/SSL) server,
the answer is a most definite yes.  The servlets sit behind the
server, so everything is taken care of by the server -- it does the
decryption on incoming requests and the encryption on outgoing
responses.  This is all transparent to the servlets.  Getting the
secure server going (e.g. getting the key and the certificate) is
totally independent of the servlets.  Well, depending on how your
servlet engine connects to the server, you may need to set it up
differently (I'm not familiar with JWS in this regard, but I know some
of the servlet engines that connect to NES via WAI need to be set up
differently).

So to see if the problem is with the servlets or the server, just try
any old URL for the secure server, e.g. https://www.domain.com/, and
see what happens.  If that works OK, then likely the problem is
related to the servlets/servlet engine.  If it doesn't, the problem is
with the setup of the secure server itself.

Note there is something else people sometimes mean when they talk
about servlets working with SSL -- that is, when they act as a client
and try to open a connection to another server that is secure.  This
is a different issue, and requires having classes that you can use
from the servlet to handle the secure interaction with the other
server.  Someone else was asking about this today on this or another
servlet related mailing list I'm on.  I don't really know much about
how to do this.


> Andras Balogh wrote:
>
> >         Hi Julio !
> >
> > I wander how can i obtain a key for testing purposes.
> > I have jws1.1 in my NT machine with i am doing all the servlets and testing
> > before move it to our Apache server with Jserv.
> >
> > I have tried to set up the https service on JWS but with no success.
> > I am interested in setting up https on Apache/Jserv too.
> >
> > And one more question: after setting succesfully the https service
> > i think i should modify my servlets too. But how ?
> >
> > sorry for these questions but i am newbie in SSL.
> >
> > Any help or link is apreciated.
> >
> > Best wishes,
> >                         Andras
> >
> > -----Original Message-----
> > From: Julio Monroy <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Date: Thursday, June 10, 1999 8:29 PM
> > Subject: Re: Running servlets under secre service (https)
> >
> > >Have you obtained, and enabled your SSL key?  This is required if you
> > >want to use SSL.
> > >
> > >
> > >Engedal Bjarte Kr�ger wrote:
> > >>
> > >> Hi,
> > >>
> > >> I'm running JWS1.1.3, and have a system using servlets.
> > >> For some reason I can't seem to run servelts under the secure service,
> > but
> > >> everything works fine under normal (http) service.
> > >> The same code, with the same properties will run under http, and not
> > under
> > >> https:
> > >>
> > >> http://myplace/servlet/myservlet  OK!!
> > >> https://myplace/servlet/myservelt  Doesn't work!!
> > >>
> > >> I have offcourse configured both the normal and secure service to contain
> > >> the servlet, but when using https the browser will hang.
> > >>
> > >> Any ideas what I'm doing wrong here?
> > >>
> > >> Bjarte
> > >>
> > >>
> > ___________________________________________________________________________
> > >> >
> > >--
> > >Julio C. Monroy
> > >Chief Information Officer
> > >MallPhoria!
> > >1400 Fashion Island Boulevard
> > >Suite 940
> > >San Mateo, California 94404
> > >p: 650-349-0300
> > >f: 650-571-1025
> > >[EMAIL PROTECTED]
> > >
> >
>

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to