File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -132,13 +132,12 @@ class PlatformIOVSCodeExtension {
132132 if ( http_proxy && ! process . env . HTTP_PROXY && ! process . env . http_proxy ) {
133133 extraVars [ 'HTTP_PROXY' ] = http_proxy ;
134134 }
135- if ( ! vscode . workspace . getConfiguration ( 'http' ) . get ( 'proxyStrictSSL' ) ) {
136- // https://stackoverflow.com/questions/48391750/disable-python-requests-ssl-validation-for-an-imported-module
137- extraVars [ 'CURL_CA_BUNDLE' ] = '' ;
138- }
139135 if ( http_proxy && ! process . env . HTTPS_PROXY && ! process . env . https_proxy ) {
140136 extraVars [ 'HTTPS_PROXY' ] = http_proxy ;
141137 }
138+ if ( ! vscode . workspace . getConfiguration ( 'http' ) . get ( 'proxyStrictSSL' ) ) {
139+ extraVars [ 'PLATFORMIO_SETTING_ENABLE_PROXY_STRICT_SSL' ] = 'false' ;
140+ }
142141 if ( this . getSetting ( 'customPyPiIndexUrl' ) ) {
143142 extraVars [ 'PIP_INDEX_URL' ] = this . getSetting ( 'customPyPiIndexUrl' ) ;
144143 }
You can’t perform that action at this time.
0 commit comments