Last active
June 7, 2016 13:55
-
-
Save NataliaAvila/5256051 to your computer and use it in GitHub Desktop.
Resolvendo problema de SSL em Windows (Rails) - Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Problema com SSL no Rails | |
- Fazer download do arquivo e salvar no Desktop | |
https://gist.github.com/fnichol/867550/raw/win_fetch_cacerts.rb | |
- Abra o Prompt e digite cole codigo abaixo | |
ruby "%USERPROFILE%\Desktop\win_fetch_cacerts.rb" | |
- Acesse Variaveis de Ambiente que fica no painel de controle/avançado e clique em novo e insira as informações abaixo e clique em ok apos terminar | |
Variavel: SSL_CERT_FILE | |
Valor: C:\RailsInstaller\cacert.pem | |
- Inicie o Rails (rails s) e seja feliz =) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment