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

TLS version #301

Closed
elarion83 opened this issue Oct 3, 2016 · 9 comments
Closed

TLS version #301

elarion83 opened this issue Oct 3, 2016 · 9 comments

Comments

@elarion83
Copy link

Hi ! I have an issue with my TLS version.

Stripe tell me that I should upgrade to 1.2 but I don't know how and there is no clear tutorial.

Please can you help me ?

@dextermb
Copy link

dextermb commented Oct 3, 2016

@elarion83 Check the README, it'll direct you to a link on the stripe website to run a test (Link for the lazy).

What output do you get?

@elarion83
Copy link
Author

I've already test my TLS and the output is that tls 1.2 is not supported.

So I read the instructions below but my host is OVH (French) and upgraded my php version to php7 but there is no change.

@dextermb
Copy link

dextermb commented Oct 3, 2016

@brandur TLS 1.2 isn't forced anymore since v4.0.0, stripe should continue to work even if the user isn't running TLS 1.2?

@elarion83 are you using the latest release? v4.0.0

@elarion83
Copy link
Author

Yeah I'm using the v4.0.0

@olivierbellone
Copy link
Contributor

Hi @elarion83. Please note that GitHub issues are for bugs or feature requests with our PHP library. If you have issues or queries about how to use the library, you should instead contact Stripe's support here: https://support.stripe.com/email.

That said, in order to solve your issue, you likely need to upgrade the software packages for curl and OpenSSL as well as PHP, then restart your web server. You can find generic upgrade instructions here:

@elarion83
Copy link
Author

Yeah but right now I'm using your library and I have an issue. So that's why I'm posting right here.

The first link you sent is the same link Dextermb sent to me. And for the second I had already upgraded my development environment.

I got no answer from Stripe. And that GitHub issue are for bugs with your PHP library, which is the point here.

@elarion83
Copy link
Author

Why do you close this issue ? It's not resolved and the issue is from your library, dafuq ?

@olivierbellone
Copy link
Contributor

@elarion83 I closed the issue because it's not a bug with the library. If your server can't use TLS 1.2 for outbound connections, there's nothing the library can do about it. You need to upgrade your server's curl and OpenSSL software packages as stated above.

I wasn't able to find your request to Stripe's support. Can you tell me what the email address for your Stripe account is?

@olivierbellone
Copy link
Contributor

@dextermb See #299 for more context on why the library is no longer forcing the CURLOPT_SSLVERSION configuration option. In a nutshell, not setting the option will result in the highest available TLS version being used in most cases. Some systems (older CentOS / RHEL versions) might need to use the CURLOPT_SSLVERSION to explicitly opt in to TLS 1.2, which they can now do manually after loading the library.

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

No branches or pull requests

3 participants