Displaying 20 results from an estimated 1000 matches similar to: "Weird behaviour using ssl connection (OpenSSL::SSL::SSLError)"
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
2009 Jul 24
1
Modifying ActiveResource classes
I''ve been struggling with an issue with ActiveResource for a bit now:
when a hostname resolves for an ActiveResource request, but there''s no
server on the other end to return information, ActiveResource''s timeout
value doesn''t work. The request just hangs.
After reviewing the ActiveResource code, I''ve realized that this is
because the underlying
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:
2010 Jun 09
12
Foreman -- Reporting
Hello All,
I don''t seem to be able to get reports to display on the foreman
interface. I copied extras/puppet/foreman/files/foreman-report.rb to /
usr/lib/ruby/site_ruby/1.8/puppet/reportsforeman.rb, instead of /usr/
lib/ruby/1.8/puppet/reports/foreman.rb. Config: Centos5.4, Apache/
Passenger, Puppet 0.25.4.
The reports are coming from the clients, because I can see them
in
2011 Aug 19
1
How to post a file via HTTP as multipart/form-data to Facebook?
I would like to post a new photo to a user using `Net::HTTP::multipart`
from a Heroku application to Facebook.
I have the following JSON object:
{"message"=>"My message",
"image"=>#<ActionDispatch::Http::UploadedFile:0x00000004242490
@original_filename="neEZYMAnBI.jpg",
@content_type="application/octet-stream",
2006 Mar 24
8
[OT] Does Net::HTTP support secure connections ?
Hi !
I''m trying to connect to an https URL, but it seems it doesn''t work.
Has anyone successfully connected from Ruby to an HTTPS server ?
Thanks !
--
Fran?ois Beausoleil
http://blog.teksol.info/
2011 Jul 14
1
RoutingError with RSpec Controller test on Scoped Route
So I have a route that looks like this:
scope "4" do
scope "public" do
scope ":apikey" do
resources :shops
end
end
end
And a bunch of controller specs, an example of which looks like this:
describe ShopsController do
describe "when responding to a GET" do
context "#new" do
it "should create a new instance
2010 Aug 24
5
Reading pem file in ruby on rails
hi,
i have a certificate file in pem format. i need to read the pem file.
Need help on how to read the certificate in ruby on rails
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Mar 18
1
MailChimp API recommendations?
This page - <http://www.mailchimp.com/api/downloads/> - lists five
gems/plugins for interacting with the MailChimp service, and for all
I know there are others.
Anyone have a personal recommendation? Based on any of stability,
ease of integration, completeness, whatever...
TIA,
--
Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
twitter:
2017 Feb 24
2
BUG or ???
Got a strange situation
[ext-queues]
...
exten => h,2,ExecIf($[${CALLERID(num)} = ' ']?Set(var29=${SHELL(curl -X
POST --header "Content-Type: application/json" --header "Accept:
application/json" -d "{\"Phone\": ${FROMEXTEN}, \"Source\": \"asterisk\"}" "
2012 Mar 05
6
Mail statistics
maybe this forum is not the ideal place for this question, but does
anyone know how to track email statistics? such as clicks, delete,
spam report.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2009 Feb 20
6
Apache configuration
To configure https we need .pem certificate file. it has both
certificate
and private and public keys .
Using this I configured https in apache . It is working nice . My client
says that he send the https request using post method .
Also he says that data in post method will be encrypted .
like this ,
2006 Jun 06
6
Payment Gem Error
I am learning how to use the payment gem to process credit cards. I
think I have everything up and running correctly but I get this error:
undefined method `use_ssl='' for #<Net::HTTP secure.authorize.net:443
open=false>
Would anyone have an idea what would cause that?
Thanks,
will clark // graphic design
www.willclarkdesigns.com/
will@willclarkdesigns.com
559 | 584
2006 Apr 06
2
OpenSSL: SSL_CTX_new:: library has no ciphers
I''m trying to do a basic get or post operation using Net::HTTP in SSL mode.
I''m on TextDrive, which runs ruby 1.8.2; however, I have the /net folder
from ruby 1.8.4 in my /lib to support net/https, which doesn''t appear to be
present in 1.8.2.
http = Net::HTTP.new "www.beanstream.com", 443
http.use_ssl = true
http.start {
2013 Dec 12
1
Need help in addressing this error - ERROR OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=SSLv3 read client certificate A: tlsv1 alert unknown ca
Hi ,
I am new to this puppet. I am implementing a network where my cisco switch
will contact the puppet server for getting the configuration.
I tried installing open source puppet and was successful in pushing down
the configurations.
I wanted then to try the same exercise with puppet enterprise 3.1. I
installed puppet enterprise in a different server and changed my puppet
agent (switch) to
2012 Jul 19
5
Detecting unicorn / defining after_fork after master startup
Hey everyone,
Working on an engine for rails that needs specialized behavior with
forking and I had a couple questions.
1. What is the best way to determine whether the app is indeed running
inside a unicorn server?
Most of the attempts I can find to detect check to see if the main
modules for Unicorn are defined, but this really only checks to see
that Unicorn is present, not that you are
2010 Feb 28
5
Passenger and Puppet problems
Cant seem to get Passenger to work on my test server. Keep getting the
following error in access_log
*** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner
(no such file to load -- rack/builder) (process 1998):
from config.ru:1
Rack was installed from gem and is in the gempath.
puppetversion 0.24.8 (both server and client)
passenger (2.2.5)
rack (1.0.1)
rake (0.8.3)
RHEL
2006 May 30
5
Implementing HTTPS with WEBrick?
All,
I would like to test some secure pages that I''m developing in my
WEBrick-based development environment.
I''ve done some research and it appears that I need to create a new
command that will start a HTTPS based WEBrick server. Is this correct?
Also, it appears that the https.rb module is not included with the
WEBrick bundled in Rails. So, I will need to go get that
2009 Sep 10
2
passenger with ruby enterprise edition
Hi I am failing to start apache2 with ruby enterprise edition and
passenger 2.2.5
[Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu)
mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured --
resuming normal operations
*** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner
(no such file to load -- puppet) (process 16544):
from
2010 Apr 24
3
help me pls:Tracking mails in rails
hai friends can anone help me to provide a way to implement the
following using rails.
i created a mail campaign application.if a user successfuly
created a campaign he will be getting a mail.
1. how i can track that someone opens the mail?
what i did is just pass some parameters like used id , campaign id
along with this.then i created one table to store the resulting