LoginSignup
1
0

More than 5 years have passed since last update.

Rails開発環境でmysqlを使っていて「SSL connection error: Unable to get certificate」がでたときの対応

Posted at

あるときから(たぶんgemを更新したタイミング)開発環境を起動してアクセスすると「SSL connection error: Unable to get certificate」が発生するようになった。
(rails sは問題なく起動)

対応方法

database.ymlに、「sslverify: false」を追加。

database.yml
省略

development:
  <<: *default
  sslverify: false
  database: database_name
  socket: /tmp/mysql.sock

省略
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0