Comments (10)
@satrox28 When you mentioned
I would like to set the environmental variable for NODE_EXTRA_CA_CERTS and pass the proxy certificate.
I thought you were talking about postman environment variables. If I am understanding correctly, you are talking about setting a system env variable called as
NODE_EXTRA_CA_CERTS
. Is that right ?if we have multiple collections have to modify the json every where correct?
Good point. It makes sense to setup one time at one place.
Yes, when the app launches it should have the env injected. I already have http and https proxy as system env variable but it doesn't work with it.
from bruno.
I am indeed on a Mac. Looking forward to the update. Thanks!
from bruno.
@DRob1260 Mac builds have been released. Yuu should be able disabled ssl verification in the app preferences.
I saw that, thanks so much!
from bruno.
Glad that you like Bruno !
Currently Bruno does not support using Custom Certificates.
We should be able to build support this feature easily.
I would like to set the environmental variable for NODE_EXTRA_CA_CERTS and pass the proxy certificate.
The way of using environment variables to pass certificates is a "postman" way of doing it. Since bruno stores your collection locally, we can approach this in a way how a developer normally would. We can store the certificates inside a folder and reference it in the config.
Here is what I am thinking
| payment-api-collection
|-- certs
|-- ca-bundle.crt
|-- request1.bru
|-- request2.bru
|-- bruno.json
There is bruno.json
in every repository. See example
I am thinking of adding a key called security
in the config like below.
{
"version": "1",
"name": "github rest api",
"type": "collection",
"ssl": {
"cert": "certs/ca-bundle.pem",
"key": "certs/private.pem",
"passphrase": "secret",
"rejectUnauthorized": false // disable cert verification
}
}
What do you think?
from bruno.
I have almost the same error: unable to get local issuer certificate
.
from bruno.
Thanks for checking on the feature request. Only concern I have on your proposal is, if we have multiple collections have to modify the json every where correct?. Since it's a nodejs app, can we create a file under the Applications directory with env variable NODE_EXTRA_CA_CERTS and then when nodejs launches the app, based on the value it decides whether to use proxy or not. Can we able to do something like this?.
from bruno.
@satrox28
When you mentioned
I would like to set the environmental variable for NODE_EXTRA_CA_CERTS and pass the proxy certificate.
I thought you were talking about postman environment variables.
If I am understanding correctly, you are talking about setting a system env variable called as NODE_EXTRA_CA_CERTS
. Is that right ?
if we have multiple collections have to modify the json every where correct?
Good point. It makes sense to setup one time at one place.
from bruno.
Was anyone encountering this issue able to solve this or work around it? I'm definitely interested in using Bruno (coming from Postman). But I need a way to use it with a custom cert
from bruno.
@DRob1260 Which OS are you currently using?
We recently shipped support for disabling ssl verification in #168
Currently this functionality is present in Windows and Linux builds.
Mac builds are delayed due to notarization issues and expected to be fixed by Sep 15th 2023
from bruno.
@DRob1260 Mac builds have been released. Yuu should be able disabled ssl verification in the app preferences.
from bruno.
Related Issues (20)
- Feature Request: Add multiple response viewing panes (HTML, raw, JSON, table, etc...)
- Bruno takes 2 requests to apply the changes made by a script HOT 2
- Compatibility with urls containing IPv6 IP addresses
- Blank screen on macOS v1.17.0
- [Feature Request] NPM package of importers
- Can't rename request from Bruno Windows on WSL `.bru` files
- Minor update needed in the French translation
- Error invoking remote method 'send-http-request': TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Authorization"] HOT 1
- Displaying NDJSON results in a long string response with no actual preview.
- Following doc links to local filesystem causes fatal state HOT 3
- Support relative local image path in markdown for docs.
- Regression: Environment Variables Values Not Working Since v1.18.0 HOT 3
- Cookies per collection
- JSON duplicate keys are modified on send HOT 1
- Unquoted Variables in JSON Body Break Comments and Prettier
- Move Environment Configuration from Popup to Tab
- OAuth 2.0 support for "state" parameter HOT 2
- Dutch translation of documentation files HOT 1
- Error invoking remote method 'send-http-request': TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: ISO-8859-1
- Blackia723
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 bruno.