Created 08-03-2018 03:40 PM
There are some way to configure postgres external database on cloudbreak to use ssl?
I did not succeed with this jdbc string:
Connection URL: jdbc:postgresql://<pg-url>:5432/hive?ssl=true
Created 08-03-2018 03:48 PM
Helo,
You can configure Cloudbreak to use an external database. Also you can configure the cert for your database with the following 2 env vars:
-Dcb.db.env.ssl=true -Dcb.db.env.cert.file=path_to_cert
However, your question suggests me that you want to use an external DB for Hive and not for CB, right? I that case it would be better to put the Hive tag on the question as well so Hive users can find the question.
Created 08-03-2018 03:48 PM
Helo,
You can configure Cloudbreak to use an external database. Also you can configure the cert for your database with the following 2 env vars:
-Dcb.db.env.ssl=true -Dcb.db.env.cert.file=path_to_cert
However, your question suggests me that you want to use an external DB for Hive and not for CB, right? I that case it would be better to put the Hive tag on the question as well so Hive users can find the question.
Created 08-03-2018 04:25 PM
Yes, you are right!
Many thanks for your advise, I added the tag
Created 01-21-2019 03:27 AM
Created 11-13-2018 10:06 PM
For Cloudbreak, these variables that @khorvath mentioned are Java JVM opts that should be configured through CB_JAVA_OPTS variable in your Profile file. You can set these as in the following example:
export CB_JAVA_OPTS="-Dhttp.proxyHost=ec2-52-51-184-121.eu-west-1.compute.amazonaws.com -Dhttp.proxyPort=3128"
If you have a cert for SSL then you should place it into the etc folder of you deployment and replace the `path_to_cert` to the relative path of the cert from your deployment’s etc folder
Created 01-21-2019 03:25 AM
Hi @Dominika Bialek, I have tried as per your suggestion however its still throwing error.
FYI, I just specified like this, still issue exists, please guide me
export CB_JAVA_OPTS="-Dhttp.proxyHost=cbpostgres2134.postgres.database.azure.com -Dhttp.proxyPort=5432 -Dcb.db.env.ssl=true -Dcb.db.env.cert.file=/root/cloudbreak-deployment/certs/root.crt"
Created 04-08-2019 06:23 PM
The steps for configuring an external database with SSL for Cloudbreak are described here