Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix TLSv1 #17

Closed
wants to merge 1 commit into from
Closed

fix TLSv1 #17

wants to merge 1 commit into from

Conversation

learod
Copy link

@learod learod commented Jun 3, 2015

No description provided.

@@ -299,6 +299,7 @@ def initialize(debug_logger=nil)
if API_BASE_URL.scheme == "https" # enable SSL/TLS
@http.use_ssl = true
@http.ssl_options = OpenSSL::SSL::OP_NO_SSLv3 # explicitly tell OpenSSL not to use SSL3
@http.ssl_version = :TLSv1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @learod any particular reason why do you need this version fixed?
Thanks!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cavi21 My app crashed with this error
SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure
And I can't sent any payment, that line solve my problem.

@joelibaceta
Copy link
Contributor

reference #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants