cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to call .Q.hmb and not have it do SSL certificate verification

trosales
New Contributor II

I'd like to turn off SSL certificate verification for testing purposes on my http get call using .Q.hmb, sort of like the equivalent curl -k.  

Is there a way to do this?
Thank you.

1 REPLY 1

rocuinneagain
Contributor III
Contributor III

From: https://code.kx.com/q/kb/ssl/#tls-client-mode

 

By default, kdb+ will try to verify the server’s certificate against a trusted source, using the certificates from SSL_CA_CERT_FILE or SSL_CA_CERT_PATH to verify the server’s certificate. If you don't wish to verify a server’s certificate, set

$ export SSL_VERIFY_SERVER=NO