LoginSignup
3
3

More than 5 years have passed since last update.

MySQLでJDBCを使う際にSSLを有効にするかどうか。

Last updated at Posted at 2018-05-21

SSLってネットワーク系のライブラリでしばしば惑わす存在。
存在を意識している女の子に対する感情と同じようなものです。

 Class.forName("com.mysql.jdbc.Driver");

SSLをオンにしたい

jdbc:mysql://localhost:3306/database?verifyServerCertificate=false&useSSL=true

SSLを有効にしたうえ、証明書をチェックしない。

オフにしたい

 jdbc:mysql://localhost:3306/database?useSSL=false

引用文献

3
3
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
3
3