cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conny Pemfors <conny.pemf...@uarda.lu.se>
Subject Re: SSL support of ResourceReader/FileGenerator
Date Mon, 03 Jun 2002 14:29:12 GMT
does anybody know how to connect to a database and start using forms for
this purpose such as JSP, or XSL to show data.

kind regards
Conny


----- Original Message -----
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
To: <cocoon-users@xml.apache.org>
Sent: Monday, June 03, 2002 3:24 PM
Subject: RE: SSL support of ResourceReader/FileGenerator


> From: Sternath Elmar [mailto:Elmar.Sternath@icn.siemens.de]
>
> Hi Vadim,
>
> thanks for your reply. I'm not really sure if the problem is totally
offtopic.
> But I must admit that I was a little bit inprecise. As I tried to tell
you
> before, I put the http request
https://139.21.207.160:8443/elster/OTTest.html
> of my cocoon sitemap directly into the browser line and there were no
problems
> with the https configuration on my target server - the page was
correctly
> displayed. But as soon as I use this request in the cocoon framework,
the
> SSLHandshakeException occurs. So it actually seems that the reason for
this
> exception must have to do something with the cocoon client.

IIRC, Cocoon uses URLConnection to get http and https resources. But
this works only after some configuration is done in your JDK/JRE. Check
out java docs on this.

To test that everything is working ok, try simple JSP/XSP with code
like:
  new URL("https://www.verisign.com/").openStream()....

(see
http://java.sun.com/j2se/1.4/docs/guide/security/jsse/samples/urls/URLRe
ader.java)

If you encounter any exception, this means that something is wrong in
the JDK/JRE configuration, and Cocoon also wouldn't be able to process
this URL.


Vadim

>
> Sorry,
> Elmar
>
> -----Urspr√ľngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Gesendet: Samstag, 1. Juni 2002 21:08
> An: cocoon-users@xml.apache.org
> Betreff: RE: SSL support of ResourceReader/FileGenerator
>
>
> > From: bob phillips [mailto:rawdirt@easystreet.com]
> >
> > this is one difference between the cocoon community and the zope
> community:
> > The Zope community tries to help people who use the software, rather
> than
> > immediately shouting off topic.
> >
> > Using SSL with cocoon should be an important part of the discussion
> here, IMO.
>
> From Cocoon (and any other application using URLConnection)
perspective,
> https does not differ from http if it configured correctly. Please
read
> link provided before criticizing.
>
> Vadim
>
> > At 12:05 PM 6/1/2002 -0400, you wrote:
> > > > From: Sternath Elmar [mailto:Elmar.Sternath@icn.siemens.de]
> > > >
> > > > > Hello,
> > > > >
> > > > > I try to get files using ResourceReader/FileGenerator
> > > > (cocoon2.0.2/tomcat4.0.3/jdk1.4.0)  :
> > > > >
> > > > >  <map:pipeline>
> > > > >     <map:match pattern="elster/testhtmls">
> > > > >     <map:read mime-type="text/html"
> > > > src="https://139.21.207.160:8443/elster/OTTest.html"/>
> > > > >     </map:match>
> > > > > </map:pipeline>
> > > > >
> > > > > Cocoon server and target server are one and the same instance.
> > > > >
> > > > > When I put the http request directly in my browser, the file
is
> > >correctly
> > > > transferred and displayed. As soon as I use the request  in my
> cocoon
> > > > pipeline, an SSLException SSLHandshakeException
> unknown_certificate
> > >with
> > > > JDK1.4 occurs in tomcat server. Can anyone tell me if, how and
in
> > >which cocoon
> > > > versions SSL is supported for FileGenerator/ResourceReader and
how
> my
> > >problem
> > > > can be solved?
> > >
> > >It has nothing to do with cocoon and totally offtopic.
> > >
> > >Go to java.sun.com for software and installation tips for SSL.
> > >
> >
>
>http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html
> #
> > >Troubleshooting
> > >
> > >
> > >Vadim
> > >
> > >
> > > > >
> > > > > Thanks in advance,
> > > > > Elmar
> > >
> > >
> > >
> >
>---------------------------------------------------------------------
> > >Please check that your question has not already been answered in
the
> > >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > >
> > >To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > >For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
> >
> >
---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message