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

add ssl support #269

Open
1 task done
Playsus1234 opened this issue Jun 9, 2024 · 3 comments
Open
1 task done

add ssl support #269

Playsus1234 opened this issue Jun 9, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation feature New feature or request

Comments

@Playsus1234
Copy link

I have confirmed that ...

  • There is no duplicate feature request.

Description

add ssl support

@Playsus1234 Playsus1234 added the feature New feature or request label Jun 9, 2024
@KoxSosen
Copy link
Collaborator

KoxSosen commented Jul 10, 2024

Hello! LibertyBans already supports SSL, however it is not enabled by default. To enable it, you'll have to enable it both on the server, and on the side of LibertyBans. Here is how you do it in LibertyBans: Start by editing the sql.yml file. Look for the key that has the same name as the database as you are using, either mariadb or postgresl currently. Under any of these keys, please look for the connection-properties configuration list. Here, you may add any options specified by the JDBC connector used for the database.

For as an example, for MariaDB the connection properties are specified here, for PostgreSQL here.

To change the behavior of SSL for MariaDB, consider looking at the sslMode option. For PostgreSQL, this would be ssl. Of course these options alone aren't enough to configure a proper connection, please see the documentation for each option.

Additionally, please see the guides to enable ssl for MariaDB, and for PostgreSQL respectively.

@KoxSosen
Copy link
Collaborator

I forgot to mention that the connection properties list configuration under postgresl applies to CockroachDB too, as per the comment in the configuration.

@KoxSosen KoxSosen added the documentation Improvements or additions to documentation label Jul 10, 2024
@A248
Copy link
Owner

A248 commented Jul 19, 2024

As Simon mentioned, we give you the ability to change almost any connection property, including SSL settings. If you have more questions, feel free to post them. I'm going to close this issue for now -- you can still post if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants