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

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Basically, clone is broken. Nothing will work with generics easily.… May 11, 2026 at 11:33 pm
  • Editorial Team
    Editorial Team added an answer We can do this by obtaining the ScrollViewer that is… May 11, 2026 at 11:33 pm
  • Editorial Team
    Editorial Team added an answer recommend hashlib, it implements a common interface to many different… May 11, 2026 at 11:33 pm

Related Questions

I have a SOAP client in Ruby that I'm trying to get working with
A client of mine has asked me to integrate a 3rd party API into
I have a project which relies heavily on PHP's SOAP extension. It's great, and
Hey guys, I have a problem (again). This time I am trying to use
I'm planning to develop a web-services (SOAP to C++ client) in Java with Metro/Hibernate

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.