WSDLDriverFactory over HTTPS (SSL)

Does anyone have a code sample for this?

I've installed http-access2 and whenever I execute a web service call, I receive the error message

"certificate verify failed".

I've tried the following: soap.options["protocol.http.ssl_config.set_trust_ca"] = '#{RAILS_ROOT}/ config/cch.cer'

Where my certificate has been placed in that path..

This is a public certificate..

Any code samples calling a web service over SSL would be helpful, thanks guys!