Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 57653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:43:29+00:00 2026-05-10T17:43:29+00:00

I have a SOAP client in Ruby that I’m trying to get working with

  • 0

I have a SOAP client in Ruby that I’m trying to get working with a Ruby SOAP server, to no avail. The client works fine over SSL with a Python SOAP server, but not with the Ruby version. Here’s what the server looks like:

require 'soap/rpc/standaloneServer' require 'soap/rpc/driver' require 'rubygems' require 'httpclient'  def cert(filename)   OpenSSL::X509::Certificate.new(File.open('path to cert.cert') { |f|     f.read   }) end  def key(filename)   OpenSSL::PKey::RSA.new(File.open('path to rsaprivate.key') { |f|     f.read   }) end  class Server < SOAP::RPC::HTTPServer  ~code snipped for readability~ end  server = Server.new(:BindAddress => HelperFunctions.local_ip, :Port => 1234, :SSLCertificate => cert('path to cert'), :SSLPrivateKey => key('path to rsa private key')) new_thread = Thread.new { server.start } 

I’ve trimmed some of the code out for readability’s sake (e.g., I have some methods in there I expose) and it works fine with SSL off. But when the client tries to connect, it sees this:

warning: peer certificate won't be verified in this SSL session /usr/lib/ruby/1.8/net/http.rb:567: warning: using default DH parameters. /usr/lib/ruby/1.8/net/http.rb:586:in `connect': unknown protocol (OpenSSL::SSL::SSLError) 

I tried taking some advice from this post and now I see this message:

/usr/lib/ruby/1.8/soap/httpconfigloader.rb:64:in `set_ssl_config': SSL not supported (NotImplementedError) 

Any ideas on how to fix this would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T17:43:30+00:00Added an answer on May 10, 2026 at 5:43 pm

    Arg. I was trying to follow along this link and it turns out I was missing a simple include statement:

    require 'webrick/https' 

    That, combined with the help from the link in the original question solves the problem. Hopefully this saves someone else down the line an hour of grief 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client that wants to send a large number of SOAP Header
I have an incoming soap message wich form is TStream (Delphi7), server that send
I have been trying to encrypt soap message and send to the server, so
Is that possible to have a single PHP SOAP server which will handle requests
I have a few specific questions about web services (SOAP over HTTP): A client
So far, no Delphi version supports SOAP 1.2 clients or server. I have tried
We have SOAP web services in production that are relying on SOAP Headers (containing
I have a SOAP request that is known to work using a tool like,
I want to build a SOAP client using ruby. I tried using the soap4r
Untill now I used soap4r as my SOAP-client with Ruby 1.8.x, but now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.