Displaying 7 results from an estimated 7 matches for "ssl_config".
Did you mean:
ssh_config
2007 Jul 31
0
wsdlDriver won't run under Rails (SSL)
...===============
require ''soap/wsdlDriver''
require ''http-access2''
user = ''fwkaufm''
wsdl = ''ProxyUser.wsdl''
soap = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
soap.options[''protocol.http.ssl_config.client_cert''] =
''/etc/certs/ssl.crt/server_cert.crt''
soap.options[''protocol.http.ssl_config.client_key'']=''/etc/certs/ssl.crt/server_key_nopass.pem''
soap.options[''protocol.http.ssl_config.ca_file'']=''/et...
2011 Jan 03
4
How to get soap4r to not bother verifying SSL certificate (verify_mode none)?
Using Ruby 1.8.7, Rails 2.3.8. I don''t want it to verify the cert...
This is my backtrace:
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed):
httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `connect''
httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `ssl_connect''
httpclient
2006 Jun 27
0
Calling SOAP based Web Services over SSL
...;'s driver_options to include
ssl options.
I also dloaded QuickCert to generate leys and loaded them into my public
directory of my web server. That code looked like this:
*******************************************************************
def hello
opts = {}
opts[''protocol.http.ssl_config.verify_mode''] =
''OpenSSL::SSL::VERIFY_PEER''
opts[''protocol.http.ssl_config.client_cert''] =
''public/healeyt/cert_healeyt.pem''
opts[''protocol.http.ssl_config.client_key''] =
''public/healeyt/healeyt_keypair...
2006 Jun 07
1
Using DRb within Rails
I want to use DRb within my Rails app. Right now I''ve got a very basic class:
class PaymentGateway
cattr_accessor :ssl_config, :host, :port
def self.gateway
@@gateway ||= new
end
def process(amount, card, type = :auth)
@biller.process(amount, card, type)
end
def set_card(user_id, number)
@biller.set_card(user_id, number)
end
protected
def initialize
DRb.start_service nil, nil, PaymentGa...
2008 Dec 10
3
How to stop SOAP4R/OpenSSL requiring cert?
Hi
I want to consume some web services that are only available over HTTPS.
My method looks like this:
def lookup_id
myid=params[:id]
driver =
SOAP::WSDLDriverFactory.new("https://server.com/xxx.wsdl").create_rpc_driver
@p=driver.verifyId(AUTH_TOKEN, PIN, myid)
end
Although this works fine on my local box (with a warning), when deployed
to the staging server I get:
2006 Feb 08
4
ssl certificates
Hi,
could someone help me with ssl certificates?
i have mycert.pfx file (client certificate) and CA certificate ca.cer.
i far as i know, ruby doesn''t understand pfx format, so i''ve converted
it to pem format.
in viewer pem looks like:
Bag attributes
blabla
Key Attributes
blabla
---begin rsa private key---
blabla
---end rsa private key-----
--begin certificate--------
blabla
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to
write in another way.
I have:
webservice WSDL link (https://something?WSDL, that''s .net webservice)
pem file (certificate, needed to authentificate for gettting data)
i need :
to consume that webservice without describing API''s for each method (i
mean use WSL to construct needed structures or objects).