I'm going to ditto Alan H. here and say that it's a certificate error. 
I just tried your code with my Google account information and I get back
a 200 OK with a bunch of authentication IDs in the results.fileContent
field.

* What vendor and version of the JVM are you using?  You can get that
info by running:

<cfset sys = CreateObject("java", "java.lang.System") />
<cfdump var="#sys.getProperties()#" />

Look for java.runtime.name and java.runtime.version

* How is your classpath defined for Tomcat?  It sounds like your JVM is
missing a reference to a crypto library javax.crypto.*

HTH,
.Peter

Alan Holden said the following on 04/20/2011 04:55 PM:
>  That looks like a certificate-based error alright.
> The only thing I found was that Camden's example includes the
> charset="utf-8" attribute in the cfhttp tag and yours doesn't, but
> that seems petty.
>
> Also some old threads about JVM version - and other issues - here:
> http://forums.adobe.com/thread/763416?tstart=1
> http://groups.google.com/group/javaloader-dev/browse_thread/thread/3963a081a5029c55
>
> http://www.coderanch.com/t/134224/Security/want-SHA-Algorithm-SDK
>
> OpenID CFC project:
> http://openid.riaforge.org/index.cfm
>
> I don't know if all this will help or hurt you.
> Al
>
> On 4/20/2011 10:13 AM, AlexS wrote:
>> Hi Guys,
>>
>> I'm using the latest version of Open BD 1.5 on Tomcat on Windows 2008
>> 64bit. Trying to use the CFHTTP tag to call an HTTPS calling a site as
>> follows
>>
>>         <cfhttp url="#variables.authURL#" method="post" result="result">
>>             <cfhttpparam type="formField" name="accountType"
>> value="HOSTED_OR_GOOGLE">
>>             <cfhttpparam type="formField" name="Email"
>> value="#arguments.sUsername#">
>>             <cfhttpparam type="formField" name="Passwd"
>> value="#arguments.spassword#">
>>             <cfhttpparam type="formField" name="source"
>> value="#arguments.source#">
>>             <cfhttpparam type="formField" name="service"
>> value="#arguments.service#">
>>         </cfhttp>
>>
>> The response I'm getting is as follows
>>
>> Connect Exception: java.security.NoSuchAlgorithmException: Error
>> constructing implementation (algorithm: Default, provider: SunJSSE,
>> class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
>>
>> Anyone got any ideas?
>>
>> It's calling a proper site in this case
>> https://www.google.com/accounts/ClientLogin
>> so its not a self cert issue but has anyone got any ideas ?
>>
>> Thanks
>>
>> A
>>
>


-- 
Peter J. Farrell
[email protected]
[email protected]
http://blog.maestropublishing.com
Identi.ca / Twitter: @maestrofjp

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to