[sample-apps] Update YB Sample Apps to support cert and key for YSQL. #5599
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-2067
Currently our sample apps don't support flags to provide a cert and a key file to connect to the YSQL endpoint. We have a flag called
ssl_cert
for YCQL connections. We can modify that flag to be calledycql_cert
and add two new flags calledysql_cert
andysql_key
[docs].The cert then needs to be passed while making the jdbc connection here: https://github.com/yugabyte/yb-sample-apps/blob/master/src/main/java/com/yugabyte/sample/apps/AppBase.java#L148
The flags for the Connection class are here
The text was updated successfully, but these errors were encountered: