Giter Site home page Giter Site logo

Comments (9)

Huachao avatar Huachao commented on May 4, 2024 4

@zephrxx @defectus @kwaxi @VitorLuizC @mFingers @ytimenkov I have implemented the client certificate feature, and will publish it in next version

from vscode-restclient.

Huachao avatar Huachao commented on May 4, 2024 3

@zephrxx it's not supported now, thanks for your suggestion and I will put it in my backlog

from vscode-restclient.

ondrej-li avatar ondrej-li commented on May 4, 2024

This one should be fairly easy to implement. I can imagine 3 more items in the request:

  • client certificate
  • private key
  • private key password (optional)

All three can be in the plain text form, eligible for env. params substitution (environment aware).

https://www.npmjs.com/package/request#tlsssl-protocol for more.

from vscode-restclient.

Huachao avatar Huachao commented on May 4, 2024

@defectus you are right, I am considering that how to let user to specify these items in request, the more direct way seems to put in request(that seems needs to create a new syntax to set these value), others ways are putting in setting files, or even add some dialogs to let user to CRUD these friendly

from vscode-restclient.

ondrej-li avatar ondrej-li commented on May 4, 2024

Just keep in mind that for many people (at least for me :-)) client certificates differ between environments. We use different client certificates in production, staging and integration.

Whatever way you plan to implement this feature please allow us to easily configure certificates based on the selected environment.

from vscode-restclient.

danielwagn3r avatar danielwagn3r commented on May 4, 2024

An idea good be to use the underlaying OS certificate store which should work fine for Windows and MacOS. Referencing the Certificate could be done be specifing the store and fingerprint.

from vscode-restclient.

Huachao avatar Huachao commented on May 4, 2024

@zephrxx @defectus @kwaxi @VitorLuizC @mFingers @ytimenkov You can use the latest version 0.14.0, you can also follow the README for how to use it.

from vscode-restclient.

ondrej-li avatar ondrej-li commented on May 4, 2024

Just tested it, works nicely! Good job, many thanks!

from vscode-restclient.

MichaelHumplEnBW avatar MichaelHumplEnBW commented on May 4, 2024

There are two different interpretations of "client certificate authentication":

Is there a way to generate the client_assertion which is needed for the cert. based OAuth-Login to a Azure AD?
Thank you for your help.

from vscode-restclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.