-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to make request when used with Proxy #117
Comments
Glad that you like Bruno ! We should be able to build support this feature easily.
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 {
"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? |
I have almost the same error: |
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?. |
@satrox28
I thought you were talking about postman environment variables.
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. |
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 |
I am indeed on a Mac. Looking forward to the update. Thanks! |
@DRob1260 Mac builds have been released. Yuu should be able disabled ssl verification in the app preferences. |
I saw that, thanks so much! |
Hi,
Thanks for creating such a nice tool.
When I am trying to explore the tool for any request, am getting certificate error since am using a http proxy.
As its a nodejs application, I would like to set the environmental variable for NODE_EXTRA_CA_CERTS and pass the proxy certificate.
Can you help me on how to pass this env for this application.
The text was updated successfully, but these errors were encountered: