1) I'm running Google App Engine SDK on Mac OS X El Capitan. I have Python 
2.7.13


2) While trying to test my app with Stripe, I get the following error

     Request req_ApPsfecKnLFJxb: Stripe no longer supports API requests 
made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. 
You can learn more about this        at 
https://stripe.com/blog/upgrading-tls.


3) I did some Googling and based on what I found, I did the following


   -  Used brew to upgrade my OpenSSL
   - Confirmed that when I do 'which openssl', I get
   
     /usr/local/opt/openssl/bin/openssl

     and when I do 'openssl version', I get

    OpenSSL 1.0.2l



   - If I do
   
           >>> import ssl

          >>> ssl.OPENSSL_VERSION, I get

          >>> 'OpenSSL 1.0.2l 23 May 2017'


But I still get the error from Stripe about not using TLS 1.2.


I found this SO question 
<https://stackoverflow.com/questions/42566809/enable-tls-1-2-on-mac-osx> but 
it didn't solve my problem. I also found this Google Group Discussion 
<https://issuetracker.google.com/issues/35900856> and after running the 
steps in #5, it shows app engine is still pointing to the old version of 
OPENSSL because the output shows 'OpenSSL 0.9.8zh 14 Jan 2016'


4) Based on the earlier referenced Google Group Discussion, I ran the 
following code in both GAE Dev and directly in my python intepreter


    import ssl 

    print ssl.__file__ 



GAE DEV: 
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.pyc


Python Interpreter: 
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.pyc



They're pointing to different files. How do I fix this? How do I get App 
Engine to use the newer version of OpenSSL that I've installed?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f7852c12-254b-4df6-9bf3-d07a0e46ff73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to