# Connect to an WSDL Service over HTTPS without authentication

**URL:** <https://www.ruby-forum.com/t/connect-to-an-wsdl-service-over-https-without-authentication/63990>\
**Category:** Ruby\
**Created:** [June 21, 2006, 1:52am UTC](https://www.ruby-forum.com/t/connect-to-an-wsdl-service-over-https-without-authentication/63990 "2006-06-21T01:52:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pnomolos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/85f322/32.png) [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Post date:** [June 21, 2006, 1:52am UTC](https://www.ruby-forum.com/t/connect-to-an-wsdl-service-over-https-without-authentication/63990/1 "2006-06-21T01:52:36Z")

</div>

Alright,

I’m in the process of attempting (key word here) to get Ruby talking via  
a WSDL service to Quickbooks. The caveat is this : quickbooks uses SSL  
to ensure that the tunnel is encrypted but either doesn’t use a  
certificate, or doesn’t use a valid certificate (and offers no options  
on how to solve that problem).

I’ve got things working - Ruby reads the WSDL (locally), creates the new  
SOAP::RPC::Proxy, but when I attempt to call a WSDL method I get an  
‘Insecure operation - initialize’ error, which I have traced back to the  
creation of a TCPSocket. Another thing to note is that I am using the  
HTTPAccess2 library (version 2.0.6). I’ve googled and tried all sort of  
ideas but I’m still a bit of a newbie at Ruby and this really has me  
confounded.

Thanks in advance!
