Hello all,
I'm currently using a site with JRUN, IIS and SSL without problems.
To achieve this the first thing is to enable SSL on IIS with a server
certificate (I didn't bought a right one but generate
one with MS certificate server).
Then you can access JSP's or Servlets with http or https, or you can even
force IIS to only accept https.
The only thing to take care about is not to have hard coded links in your
html, jsp, servlets, and I must admit I had a good few one to modify.
Regarding the problem that is reported, maybe is it that you have in your
JSP an explicit https link in something like an include ?
Hope this helps,
Philippe
= = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Philippe Bertramo
World Customs Organization
Brussels - Belgium
-----Original Message-----
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 03:27
To: [EMAIL PROTECTED]
Subject: Re: SSL on JRUN
On Mon, 28 Aug 2000, PAUL SIMON wrote:
> Its the server end that is causing me the exception and not the
> client end. It's an exception in the JSP code getting executed on
> the JRUN. Like I mentioned before "jsp code tries to create an
> https URL and it throws "java.net.MalformedURLException: unknown
> protocol: https" Since the ssl is not started on the server it fails
> to recognize a https protocol
>
> Thats the way Im looking at it. But if you have any other views to
> it, as to why this exception is occuring, I would appreciate that
[ ... ]
That sounds like a reasonable view to me, given what I know of the
situation (and that I have never tried anything like that myself).
> --- Milt Epstein <[EMAIL PROTECTED]> wrote:
> > On Mon, 28 Aug 2000, PAUL SIMON wrote:
> >
> > > Mike you were right...'cause from what I read JRun
> > doesn't currently
> > > support SSL. It depends on native web server SSL
> > support (which in
> > > mycase is IIS). There's an article about it in
> > the Allaire
> > > Knowledge Base under JRun & SSL at
> > www.alliare.com. From the
> > > article I have fathomed that by configuring Master
> > Properties file
> > > for www sevice (machine level) I can run
> > individual servlets under
> > > SSL. I will look into this a lttle closely and
> > update you guys on
> > > the same
> >
> > Let's be clear about what we're saying here. JRun
> > is a servlet
> > container, normally configured as a web server
> > add-on. But it also
> > comes with its own little web server. *That* web
> > server does not
> > support SSL. But when you use JRun as a web server
> > add-on, whether
> > you can use SSL depends on the web server you are
> > using. I believe
> > IIS does support SSL, but I don't really know
> > anything about it. And
> > when you use JRun (and in fact most web server
> > add-on servlet
> > containers), there is little or nothing you need to
> > do to make it work
> > with SSL -- that is part of the web server, and
> > (mostly) transparent
> > to JRun (I say "mostly" because there may be some
> > slight changes you
> > need to make in the configuration).
> >
> > And this all has to do with JRun being on the server
> > end of the https
> > transaction, it doesn't say anything about it being
> > on the client end.
> >
> >
> > > --- Milt Epstein <[EMAIL PROTECTED]> wrote:
> > > > On Mon, 28 Aug 2000, PAUL SIMON wrote:
> > > >
> > > > > Friends,
> > > > >
> > > > > Pbm : How to start SSL with JRUN server A
> > piece of
> > > > code I have here
> > > > > creates an https URL and it throws
> > > > "java.net.MalformedURLException:
> > > > > unknown protocol: https" This occurred with
> > > > WebLogic once and I just
> > > > > started SSL on the server and the problem went
> > > > away. I haven't been
> > > > > able to find a way to start SSL with JRUN. I
> > am
> > > > trying Allaire web
> > > > > site http://www.allaire.com/ . In the mean
> > time if
> > > > this forum could
> > > > > provide me some help, I would really
> > appreciate
> > > > that
> > > >
> > > > I'm a little confused by your situation.
> > There's
> > > > two ways you could
> > > > be using SSL/https, one, where you're acting as
> > the
> > > > server end of the
> > > > https transaction, and two, where you're acting
> > as
> > > > the client end.
> > > > When you talk about starting SSL on the server,
> > it
> > > > sounds like the
> > > > former; when you talk about creating an https
> > URL,
> > > > it sounds like the
> > > > latter. They really have nothing to do with the
> > > > other, and enabling
> > > > SSL on the server shouldn't affect the exception
> > > > you're getting. To
> > > > fix that, you need some library that handles the
> > > > client end of https
> > > > transactions (I believe Sun's JSSE can do this).
> > > >
> > > > Also, I don't believe the simple web server that
> > > > comes with JRun can
> > > > do SSL.
> > > >
> > >
> >
> > 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>
___________________________________________________________________________
> 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
>
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
___________________________________________________________________________
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