Nick,

Connecting to a ssl server is possible through JAVA ala JSSE and JDK1.2.
http://java.sun.com/products/jsse/

You should be able to modify your existing cfx tag to implement https
support.

Although I haven't had an occasion to use cfhttp with a https url I believe
that it was possible.  Borrowing advice from David Watts you could use a
recording proxy to log the conversation between the servers.  The two he
recommends are:

Stretch
http://www.kestral.com.au/devtools/

HTTPSniffer (requires Perl)
http://www.compansr.demon.co.uk/

Hope this helps.

Jeff Sarsoun


>
>
> -----Original Message-----
> From: Nick Texidor [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 4:48 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Java CFX Tags
>
>
> Hi Jeff,
>
> If only I knew!!  :^)
>
> Where do I start?  It's been a long week!
>
> Ok, I need to call a secure server in order to send an sms message.  Using
> CFLOCATION was a big no-no because it exposed the URL it was posting to.
It
> also meant I had to go through 3 pages to complete all the database
updates
> etc.
>
> So I looked at CFHTTP, this meant I could post to this page, and then
> continue in the same script, and hide the URL.  Great I thought.
>
> Except it wasn't.  I just could not get it to work.  I have tried it on
four
> different servers....
>
> 1) My machine, CF4.5.1 SP2, NT4 + SP6.  Continually for a connection
failure
>
> 2) Server where site is hosted, CF4.5, Win2K.  Same problem
>
> 3) Our Allaire VAR.  CF 4.5, NT4.  Same problem.
>
> 4) Another web server hosting our site, CF4.02, NT4 + SP5.  WORKS!!
>
> So based on this information, I'm assuming there are some changes to
CFHTTP
> between 4.02 and 4.5.
>
> So anyway, I looked at writing a Java tag.  And after spending an age
trying
> to get the CF Server set up for it, only to discover that using Java, you
> can't connect to a secure server using the URL Connection.  It bombs if
you
> try and use HTTPS.   I dare say there is a way around it.  But time is not
> on my side.
>
> Fortunately, the site I'm trying to link to also has a telnet service. So
I
> managed to change the tag I was writing to use Sockets and connect to
that,
> and it worked a treat!
>
> If your tag will help with the CFHTTP problem, it would be great, I can
see
> I'm going to need to do this again and again with this ongoing project.
>
> Thanks
>
> Nick
>
>
>
> > From: "Jeff Sarsoun" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Fri, 16 Feb 2001 13:57:02 -0500
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Subject: RE: Java CFX Tags
> >
> > Nick,
> >
> > I have a beta version of a java cfx tag that is helping me get around
some
> > issues I had with cfx_http and cfhttp.  What is it that your having a
> > problem with and what version of cf are you using?  cf 4.5.2 cures some
> > cfhttp issues.
> >
> > Jeff
> >
> > -----Original Message-----
> > From: Nick Texidor [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 15, 2001 9:58 PM
> > To: CF-Talk
> > Subject: Java CFX Tags
> >
> >
> > Hi,
> >
> > Due to some problems I'm experiencing with CFHTTP, I'm having to look at
> > writing a CFX tag to achieve something I'm trying to do.
> >
> > I'm wondering what the lists experiences are of Java Tags with regards
to
> > performance, development etc.
> >
> > tia
> >
> > N
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to