-
Notifications
You must be signed in to change notification settings - Fork 479
SSL Configuration
- Setting up SSL configuration
- Setting up SSL configuration via Driver properties
- Import SSL certificates on startup
CloudBeaver supports the ability to establish connections using Secure Socket Layer (SSL), a protocol for creating authenticated and encrypted links between networked computers.
Note: SSL parameters are optional and should only be specified if required by your server configuration.
-
Start by creating a connection.
-
Go to the SSL tab in the connection settings.
-
Enable the checkbox Enable SSL
-
Configure the required settings:
Parameter Description CA Certificate Path to the Certificate Authority (CA) certificate. Client Certificate Path to the client's public key certificate. Client Private Key Path to the client's private key. SSL Mode Desired security level for SSL. SSL Factory Provide SSLSocketFactory factory class name. Cipher Suites (optional) Specify a comma-separated cipher suites list to use. Skip host name validation Whether to bypass hostname validation. Use self signed certificate (non-secure) Acceptance of self-signed certificates. Force TLS 1.2 Enforce using TLS version 1.2. Verify server certificate Ensures the server certificate is valid. Allow public key retrieval Allows the retrieval of the server's public key. Note: The availability of these parameters can vary depending on the database.
-
If all other necessary connection settings are configured, complete the setup by clicking Finish, or test the configuration by clicking Test Connection to ensure that SSL is functioning correctly.
Tip: To avoid entering credentials every time, enable the Save credentials for the current user option. Depending on the connection type, the checkbox name may vary. For more details, see Credential saving options.
For some databases, an alternative method to configure SSL settings is available through the Driver properties tab. This approach allows access to additional or driver-specific SSL options that may not be present in the main SSL tab:
-
Select the Driver properties tab within the Connection settings.
-
Look for properties prefixed with
ssl
, such assslResponseTimeout
,sslfactoryarg
,sslhostnameverifier
, etc. Configure the necessary properties according to your database and server requirements. -
If all other necessary connection settings are configured, complete the setup by clicking Finish, or test the configuration by clicking Test Connection to ensure that SSL is functioning correctly.
CloudBeaver can import certificates from a predefined folder at startup. This method is useful for databases protected by self-signed certificates. It ensures secure connections without manual setup, especially when a firewall or internal security policies require specific certificates.
To add a certificate, place the file in the {workspace}/.data/custom-certs
folder on the server.
CloudBeaver will detect and import it on startup.
For more details on
workspace
location, see Workspace location
To manually copy a certificate, use the following command from the Compose project directory:
docker compose cp /path/to/cacert/root.chain.pem cloudbeaver:/opt/cloudbeaver/workspace/.data/custom/
After copying the certificate, restart the cluster (if it is already running) to apply the changes:
docker compose restart
Since if you mount the folder with certificates inside the workspace before the first startup - there may be problems with access rights inside the system .data
folder, it is recommended to use /opt/cloudbeaver/conf/custom-certs
folder.
So you need to create a volumen and mount it with the /opt/cloudbeaver/conf/custom-certs
.
{workspace}/.data/custom-certs
{workspace}/.data/custom
/opt/cloudbeaver/conf/custom-certs
/opt/cloudbeaver/conf/custom
Read more about CloudBeaver deployment.
Important:
- Only certificates are imported, not private keys.
- The
custom-certs
directory must not contain any extra files or subfolders.
- Getting started
- Create connection
- Connection network options
- Supported databases
-
Drivers management
- Database authentication methods
- Database navigator
- Properties editor
- Data editor
- SQL editor
-
Entity relation diagrams
- Cloud services
-
AI Smart assistance
- Data transfer
- General user guide
- Administration
- Server configuration
-
Server security and access configuration
- Authentication methods
- Access management
- Proxy configuration
-
Secret management
- Logs
-
Query manager
- Workspace location
- Command line parameters
-
Session manager
- Deployment options
- CloudBeaver Editions
- FAQ
- Development