Skip to content

How to give the custom Location of certs in the Denodo JDBC Connection instead of getting it accessed the default one #251

@jmoghalx

Description

@jmoghalx

Since we tried to connect the Denodo with Python code ""com.denodo.vdp.jdbc.Driver","jdbc:denodo://edvp.XXX.com:8000/item?ssl=true", Its taking the default JAVA_HOME\lib\security\certs but I would like to give custom location how?

Example : $JAVA_HOME/bin/java -Djavax.net.ssl.trustStore=/my/custom/truststore -Djavax.net.debug=ssl SSLPoke jira.example.com 443

My Python code is :

try:
# Connect to Denodo
denodo_conn = jaydebeapi.connect(
"com.denodo.vdp.jdbc.Driver","jdbc:denodo://edvp.XXX.com:8000/item?ssl=true",
#sslTrustServerCertificate=true,sslTrustStoreLocation=cacerts,sslTrustStorePassword=Changeit
["sys_XXX", "XXX@2051"], # Replace with your credentials
"denodo-vdp-jdbcdriver.jar" # Path to Denodo JDBC driver
)
denodo_cursor = denodo_conn.cursor()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions