Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heroku、cleardb間の通信にSSLを入れる #14

Closed
lv7777 opened this issue Jun 24, 2016 · 4 comments
Closed

heroku、cleardb間の通信にSSLを入れる #14

lv7777 opened this issue Jun 24, 2016 · 4 comments

Comments

@lv7777
Copy link
Owner

lv7777 commented Jun 24, 2016


  • タイトルにはブランチ名をつけること(masterブランチならそのままでok)
  • issueを立てたあとはタグをつけること。

short description

client<---->serverはSSL化されてるけどserver<--->DBがSSL化してない。

todo

する。証明書のダウンロードとherokuにapplyする。無料。

@lv7777 lv7777 changed the title herokuとcleardbにSSLを入れる heroku、cleardb間の通信にSSLを入れる Jun 24, 2016
@lv7777
Copy link
Owner Author

lv7777 commented Jun 26, 2016

  • opensslコマンドのインスコ

まあ仮想でも起動させるか

@lv7777
Copy link
Owner Author

lv7777 commented Jun 26, 2016

mysql> show variables like '%ssl';
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id:    XXXXXXXxx
Current database: XXXXXXXXXXx
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| have_openssl  | YES   |
| have_ssl      | YES   |
+---------------+-------+
2 rows in set (1.41 sec)

これ魔剤!?

@lv7777
Copy link
Owner Author

lv7777 commented Jun 26, 2016

2016-06-26T12:05:45.807817+00:00 app[web.1]: path /sslcheck

2016-06-26T12:05:45.817171+00:00 app[web.1]: [ RowDataPacket { Variable_name: 'have_openssl', Value: 'YES' },

2016-06-26T12:05:45.817183+00:00 app[web.1]:   RowDataPacket { Variable_name: 'have_ssl', Value: 'YES' } ]

だっておwwwwww

(ありがたいっちゃありがたいんだけど正直自分でやってみたかった・・・)

@lv7777
Copy link
Owner Author

lv7777 commented Jun 26, 2016

closed

@lv7777 lv7777 closed this as completed Jun 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant