Looker SDK with Custom certificate

Miryam
New Member

I’m using the LookerSDK in java service and would like to execute the method run_inline_query.

I have a custom certificate in my development computer (not relevant to production).

The execution failed with this response: 

SDKErrorResponse(value=POST /queries/run/json javax.net.ssl.SSLPeerUnverifiedException: Hostname metrics.yotpo.com not verified:
    certificate: sha256/B6kEPm3+BfpPD/RvN7AF1q9fM4h/JwzGSEQY5R9dYa4=
    DN: OU=NetFree Filter, CN=cloud.looker.com
    subjectAltNames: [cloud.looker.com, *.api.au.looker.com, *.api.ca.looker.com, *.api.de.looker.com, *.api.eu.looker.com, *.api.jp.looker.com, *.api.looker.com, *.api.sa.looker.com, *.au.looker.com, *.ca.looker.com, *.cloud.looker.com, *.de.looker.com, *.eu.looker.com, *.gw1.cloud.looker.com, *.internal.looker.com, *.jp.looker.com, *.looker.com, *.sa.looker.com])

I can't find any documentation about the location of trusted certificates that Looker SDK uses, I'd like to add mine to that location as well

1 1 160
1 REPLY 1

Miryam
New Member

I get managed, solve it be add property of verify_ssl = “false” to the creation of the ApiSettings of the LookerSDK