Open mickeey2525 opened 2 years ago
Users need to communicate with the Treasure Data site through Proxy servers, which return an invalid(mostly self-signed) certificate to the td toolbelt. Unfortunately, td toolbelt does not have options to disable certificate verification. So users need to implement some tricks in scripts.
Error messages
Error: SSL_connect returned=1 errno=0 state=error: certificate verify failed
Implementing that kind of option(disabling certificate verification) for those users is better.
Open the td.td file in the C:\Program Files (x86)\Treasure Data\bin path
require 'openssl' OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
and add these two rows below the sentence require 'td/command/runner'
You can enter a value to bypass the authentication called.
When using the td wf
command, add --disable-cert-validation
to the end of the command to run it.
Users need to communicate with the Treasure Data site through Proxy servers, which return an invalid(mostly self-signed) certificate to the td toolbelt. Unfortunately, td toolbelt does not have options to disable certificate verification. So users need to implement some tricks in scripts.
Error messages
Implementing that kind of option(disabling certificate verification) for those users is better.