Displaying 20 results from an estimated 90000 matches similar to: "How to judge whether SSL has been applied?"
2012 Apr 04
4
Running SSL in Development Environment
Hello,
I am building an application that consists of two areas; a website and
an API. I would like the website to use HTTP and the API to use HTTPS.
How can I set this up for my Development Environment?
I am using Thin, which I can start using the --SSL flag. However this
means any HTTP urls will fail. As far as I can see it is impossible to
have a server handle both HTTP and HTTPS, so how do
2013 Aug 29
4
Weird behaviour using ssl connection (OpenSSL::SSL::SSLError)
Hi guys
when I execute the piece of code bellow on RoR console it works fine:
url = URI.parse("https://us1.api.mailchimp.com/2.0/helper/ping")
request = Net::HTTP::Post.new(url.path)
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request.body = "{\"apikey\": \"myapikey\"}"
response = http.start
2013 Jan 08
6
Fwd: HOW TO USE SSL IN SAVON
HI All,
I want to consume the SOAP apis using SSL in the SAVON gem, but I am facing
the below error while trying to access the soap services.
client = Savon.client(wsdl: "https://xxx?WSDL")
client.operations
HTTPI GET request to xxxxx (curb)
HTTPI::SSLError: Curl::Err::SSLPeerCertificateError
In the Savon site <http://savonrb.com/version2.html#globals-ssl> I found
that options
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
2011 Jan 13
2
send_file works on Rails2,SSL - except for IE7/6
Quirky stuff here,
The current setup works fine for Firefox 3.6 and IE 8 but balks on
earlier IEs. The files are PDFs, .doc files, and other binaries but up
to several MB:
A. the users'' problem is a minor IE7 quirk: it works to download files
from clicking links, but if you use the URL instead then the browser
stops after a fraction of a second. Refreshing or hitting Return again
2012 Apr 26
3
SSL error in Ruby on Rails Ubuntu
Hi, I am using Rails 3.x on my Ubuntu machine. Today I ran bundle install
on a project and this is what I got:
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=unknown state:
sslv3 alert handshake failure
An error occured while installing tzinfo (0.3.32), and Bundler cannot
continue.
Make sure that `gem install tzinfo -v ''0.3.32''` succeeds before bundling.
Any
2010 Dec 20
1
Check whether link present nor not using cucumber
Hi,
I am using cucumber with webrat for testing my application.
I have admin role in my application.
When admin logs into the system he able to see the "Users" link which
gives an interface to manage users for admin. I have written the feature
like as follows:-
Feature: List All Users
So that Admin can manage users
Scenario: Login as Admin
When I login with user "username"
2013 Jul 03
1
Devise auth based on ssl keys
Hi, guys.
I already have a rails 3.1.2 and ruby 1.9.3 vast app with an auth based
on devise. Now I want to add to the my app a ssl key based auth. As
web-server it uses thin and nginx as proxy. I have made only ssl on the
nginx at 443 and only for some app pathes (e.g. /articles, /search etc).
How I can tell to the my app and devise use the ssl keys and assign them
to the app users (link
2010 Sep 07
1
How do you configure WEBrick to use SSL in Rails 3?
Prior to Rails 3, you could modify the script/server file to add in
SSL parameters and tell the server command to use the HTTPS version of
webrick, now that all of those scripts are gone, does anyone know how
to get this to work?
--
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
2011 Sep 02
1
can't compile assets on prod due to asset_host config && SSL requirement
My production asset_host config looks like this:
config.action_controller.asset_host = Proc.new { |source, request|
if request.ssl?
"#{request.protocol}#{request.host_with_port}"
else
"#{request.protocol}assets#{(source.length % 4) +
1}.example.com"
end
}
...which is more or less straight from the docs:
2012 Jan 09
1
Windows, Rails 3.1.3, Omniauth-BrowserID, SSL Erro
One and all, I have scoured the internet high and low tonight and I
can not for the life of me fix this damn problem. I have downloaded
certificates, installed certificates, changed my :ca_path and such as
stated in the documentation for omniauth-facebook for which I thought
would be ok to do with this one. Can anyone point me in the right
direction of how to disable SSL in development mode
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still
confused. Please point me in the right direction. Here''s the
question:
I have a rails3 site (www.mysite.com). I want to have some pages use
ssl, and some not. It appears the require_ssl approach is pre-Rails3
and there are other alternatives. Most of the posts I read talk about
using a diff domain for ssl
2011 Mar 19
0
Problems with SSL dependent gems OAuth2 & ActiveMerchant
Hello all,
My application uses the OAuth2 gem (0.1.1) to connect to Facebook, and
the ActiveMerchant gem (1.12.0) to connect to PayPal. Under what is the
current Rails/Ruby distribution, both of these gems throw the following
OpenSSL::SSL::SSLError when used:
* SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed
I did some digging, and found two
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
Hi all,
I deployed a Rails application on a Windows Server 2003 machine as
follows:
+ I created two instances of Mongrel at ports 4001, 4002 to serve the
application
+ I set up an Apache instance at port 8080 for balancing load for the
two Mongrels => So I can access my website at URL http://mywebsite:8080/
+ I want to allow users access my website without typing port 8080 in
the URL.
2012 Apr 20
0
Issue with savon and ssl headers
Hi my problem is this i''m trying to write some rules for ssl connection
but i just can''t write the attributes of some nodes.
Here is the code I wrote
soap.header = { "To" => "URL",
"Action" => "action",
"ReplyTo" => {"Address" => "URL"},
"MessageId"
2009 Dec 11
0
Mikel's Mail OpenSSL::SSL::VERIFY_NONE
Hi Guys,
I need to use Gmail SMTP, and I have to set the
OpenSSL::SSL::VERIFY_NONE for the tls.
It is quite easy and a lot of resource for setting it up in
ActionMailer. However, the ActionMailer setting seems not for Mikel''s
Mail.
Anyone knows how to set the VERIFY_NONE in the gem?
Thanks a lot!
Arthur
--
You received this message because you are subscribed to the Google Groups
2011 Feb 01
10
SSL problems with RoR, MySQL and Apace
Hello All -
This is my first post into this forum and somewhat of a newb
to RoR so I''m hoping someone can help. I currently have a RoR app that
runs on Ubuntu with Apache and Mysql. There are two issues I''m having
and they are causing me to bang my head against the wall.
First one is RAILS_ENV: If I run ruby script/console it says that my
environment is development
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 Jan 21
0
Problem in accessing SSL enabled mail server
Hi,
I have two different mail server servers. Both are SSL enabled.
When I try to read mail from my mail box I got following error on 1
machine,
Errno::ECONNREFUSED: Connection refused - connect(2)
from /usr/lib/ruby/1.8/net/smtp.rb:551:in `initialize''
from /usr/lib/ruby/1.8/net/smtp.rb:551:in `open''
from /usr/lib/ruby/1.8/net/smtp.rb:551:in `do_start''
from
2013 Jun 20
3
Hosting ruby application of IIS 7
Hi all,
I am new to ruby programming. I have just started creating a simple ruby
application using ruby on rails. I have installed ruby 1.8.7-p371 and
DevKit successfully. I am able to run the application using
http://localhost:3000 but now my requirement is to host the application on
IIS 7 and this is where I am stuck. Can anyone please help me with the
steps to configure my ruby code on