Comments (9)
@zephrxx @defectus @kwaxi @VitorLuizC @mFingers @ytimenkov I have implemented the client certificate feature, and will publish it in next version
from vscode-restclient.
@zephrxx it's not supported now, thanks for your suggestion and I will put it in my backlog
from vscode-restclient.
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.
@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.
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.
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.
@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.
Just tested it, works nicely! Good job, many thanks!
from vscode-restclient.
There are two different interpretations of "client certificate authentication":
- By using the certificate for the ssl-connection, like is is decribed at the README of the Release 0.14.0
- Using the certificate to sign a JWT als client_assertion, like is described at the section "Second case: Access token request with a certificate" at https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow
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)
- Cannot click SEND REQUEST if swapping window HOT 7
- Concatenate variables HOT 1
- Request body in JSON file not working with relative or absolute path HOT 1
- Response extremely slow compared to Postman HOT 1
- Is it possible to not encode a Basic Authorization header?
- Output or Print response or value of variable ( HOT 3
- 插件失效了哦 HOT 1
- No Send Request link HOT 1
- [VS Code IDE] socket hang up only for http request after upgrade vscode to v1.81 and above
- Warning: The content type of response is application/json, while response body is not a valid json string HOT 1
- add support for default url defined by `@host` for httpyac compatibitlity
- why not support 'DELETE' option.
- The gzip-compressed JSON data transmitted by the backend is not available to the variables.
- TLS problem(mybe) with domain in /etc/hosts with traefik
- Please release latest version HOT 1
- 👾 not working for me - details in description
- can you support the Jetbrains IDEA environment json file for vscode ?
- Duration in response output window
- Integrate automation test scripts
- Telemetry should not be on by default
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-restclient.