Skip to content

Instantly share code, notes, and snippets.

@NataliaAvila
Last active June 7, 2016 13:55
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NataliaAvila/5256051 to your computer and use it in GitHub Desktop.
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
#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