Add option for adding -k to the curl commands

Issue #655 resolved
Anders Högqvist created an issue

We have a Bitbucket server to which I need to use ‘curl -k …' in order to communicate with the API. It would have been great if there was an option to add that in the extension settings.

Comments (2)

  1. Anders Högqvist reporter

    I experimented a bit by adding ‘-k’ to the two instances of curl I found in extension.js but that didn’t help, I still get “Error: self signed certificate in certificate chain” when I try to add our Bitbucket server. However, if I copy the curl command from the log and execute it in my terminal it works!

  2. Anders Högqvist reporter

    I managed to get it to work by exporting the certificate as a .pem file in Firefox and add it to the VS Code settings! So there's no need for the curl -k thingy.

  3. Log in to comment