OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

后端 未结 5 911
遇见更好的自我
遇见更好的自我 2021-02-12 23:49

There are a ton of posts about this. I have looked at so many of them. Zero of the fixes seem to work.

(main)> PayPal:         


        
5条回答
  •  我寻月下人不归
    2021-02-13 00:19

    Here is what we ended up doing on my team.

    We added the 2 certs that Michael mentioned in

    config/api.paypal.com.crt
    
    

    Then in paypal.yml

     ssl_options:
        ca_file: config/api.paypal.com.crt
    

    We left the Gem as is. Initially we tore through the gem looking for answers but ultimately we left the gem as is and added the crt and updated yaml as show above.

提交回复
热议问题