AuthMeReloaded icon indicating copy to clipboard operation
AuthMeReloaded copied to clipboard

MySql SSL needs to be fixed.

Open woodzykiler opened this issue 9 years ago • 37 comments

####Before reporting an issue make sure you are running the latest build of the plugin and checked for duplicate issues! just enable MySQL

What behaviour is observed:

What happened? 08:55:21 [WARNING] Lobby > Tue Jan 10 08:55:21 EST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

What behaviour is expected:

What did you expect? Not that lol

Steps/models to reproduce:

The actions that cause the issue Turning on MySql on the plugin

Plugin list:

This can be found by running /pl

Environment description

Standalone server/Bungeecord network, SQLite/MySql, ... Bungee, Subbungee, Spigot 1.11.2, MySql

AuthMe build number:

This can be found by running /authme version 1384

Error Log:

Pastebin/Hastebin/Gist link of the error logo or stacktrace (if any) look up Here is what you all need to change on YOUR side. in the file for connection to the MySql and of course change as needed 🖌

Put the useSSL=false at the end of the name database: javax.jdo.option.ConnectionURL jdbc:mysql://localhost/metastore?useSSL=false metadata is stored in a MySQL server

Also, on a side note every one has the same dam IP.... and non of the previous ideas are working

woodzykiler avatar Jan 10 '17 14:01 woodzykiler

1384

Please update to latest build

sgdc3 avatar Jan 10 '17 14:01 sgdc3

Also, on a side note every one has the same dam IP

I guess the localhost ip? Then activate bungeecord in the spigot config and ipforward in the bungeecord config.

TuxCoding avatar Jan 10 '17 14:01 TuxCoding

the bungee IP forword is set to true in the config, side note everything runs in offline mode Also the same issue with MySql, just installed new build 1525 and my MySql's SSL is disabled. config.txt a helpfull hint http://stackoverflow.com/questions/34189756/warning-about-ssl-connection-when-connecting-to-mysql-database

woodzykiler avatar Jan 10 '17 15:01 woodzykiler

the bungee IP forword is set to true in the config, side note everything runs in offline mode

You also have to activate it in spigot.

TuxCoding avatar Jan 10 '17 16:01 TuxCoding

spigot.txt

im a say that i do?

woodzykiler avatar Jan 11 '17 14:01 woodzykiler

ok it's activated there

TuxCoding avatar Jan 11 '17 15:01 TuxCoding

so with them active, what am i missing? possable interacting plugins? Authme-reloaded, AuthMeBridge, SubServers And as for the MySql issue thats on your end

woodzykiler avatar Jan 11 '17 15:01 woodzykiler

any word on the MySql change? and my everyone has the same IP issue?

woodzykiler avatar Jan 13 '17 15:01 woodzykiler

Working on the mysql thing ;)

sgdc3 avatar Jan 13 '17 16:01 sgdc3

The issue is caused by a misconfiguration of your mysql server ssl certificate, you can just ignore that warning.

sgdc3 avatar Jan 13 '17 16:01 sgdc3

@woodzykiler

sgdc3 avatar Jan 13 '17 16:01 sgdc3

Look and read up please. My mysql ssl is disabled 100%. And look at the link I posted as well and get back to me thanks! On top that i get 4 warnings every 10 mins or so

woodzykiler avatar Jan 13 '17 16:01 woodzykiler

Why did you disable ssl? @woodzykiler

sgdc3 avatar Jan 13 '17 16:01 sgdc3

I disabled the ssl to fix that issue and it didn't effect it what so ever. So thaws why I relive its your end with the login stuff

woodzykiler avatar Jan 13 '17 16:01 woodzykiler

Our code is fine, it could be a library issue but we didn't update any of them since months... Could you please try to reinstall your mysql server?

sgdc3 avatar Jan 13 '17 16:01 sgdc3

The mysql server is on the same machine and had ssl enabled first. Then it was disabled. I started with a bland slate of a box only 3 months the ago everything is windows based

woodzykiler avatar Jan 13 '17 17:01 woodzykiler

Ok, i'll add an option to disable SSL

sgdc3 avatar Jan 13 '17 22:01 sgdc3

Wjats if people have a remote server for that? And did look at my weblink?

woodzykiler avatar Jan 13 '17 22:01 woodzykiler

And did look at my weblink?

Yes

Wjats if people have a remote server for that?

What do you mean? :/

sgdc3 avatar Jan 13 '17 22:01 sgdc3

U said about having the choice for the ssl .but what if someone has remote database and needs ssl turned on?

woodzykiler avatar Jan 13 '17 22:01 woodzykiler