useSSL doesn't work with Postgresql
Closed this issue · 8 comments
And because I can only connect to my postgresdatabase with ssl, there is currently no way for me to use postgres.
Either make useSSL work with Postgres or give me the ability to use my own connectionstring(instead of building the connection string in luckperms)
It would be much better if you would provide actual information why useSSL doesn't work.
- What are the errors?
- Are there even any?
- What did you try?
- Did you check the wiki for any ideas/options?
- You should check the storage system errors page.
If you can answer those questions and perhaps provide more information maybe then we will be able to assist you.
I both have a similar problem. In the console I got this:
[luckperms-hikari connection adder/WARN]: Wed May 15 11:26:48 CEST 2019 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.
I'm using a MySQL connection
Error is on the storage system errors page here.
You can define your own connection options in this section of the config.
@lucko I tries the useSSL option but it doesn’t work with postgres
I'm not familiar with how SSL works with PostgreSQL.
However, the options specified in that config section are just what LP passes on to the database connection pool.
If the option isn't working, then it's an issue with the PostgreSQL driver or your SQL server.