bruno: [Bug] Disabling SSL doesn't seem to work

At the company I work for, we use self-signed certificates for our development environment. In Postman, we need to add our own CA, which is done (in postman) via Settings > Certificates > CA Certificates > PEM File.

It doesn’t appear that bruno supports this, although there is an option to disable SSL Certificate Authentication. But when I do that, I get the error Error invoking remote method 'send-http-request': Error: Key is required.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Resolved it. There’s no documentation on this except for https://github.com/usebruno/bruno/issues/168. You go to the bottom left of the app and theres a tiny gear cog with the options to disable ssl. I realize now, that I’ve posted to a thread thats maybe, a bit off topic haha. Sounds like deanveloper already disabled ssl.

@Lotti @lllama @ebricca @deanveloper The issue of SSL Disabling not working when used with proxies has been fixed by @cwilper and is available in v0.27.0

on preference save error

one has to set the proxy.port to a number e.g. 1000 even when not used

( output from devtools 😃 Error: Error invoking remote method ‘renderer:save-preferences’: ValidationError: proxy.port must be a number type, but the final value was: NaN (cast from the value “”). )

Thanks @cwilper

For Windows people:

❯ $env:NODE_TLS_REJECT_UNAUTHORIZED=0
❯ & 'C:\Users\<YOUR_USER>\AppData\Local\Programs\bruno\Bruno.exe'

I got the same issue when using a proxy that self-signs certs in proxied HTTPs traffic, even after “SSL Certificate Verification” is un-checked. This is still happening as of v0.25.0.

Workaround:

What worked for me was to set the NODE_TLS_REJECT_UNAUTHORIZED env var to 0 before running.

For example, on macOS, launch the UI from Terminal via:

NODE_TLS_REJECT_UNAUTHORIZED=0 open -a Bruno.app

We find out that the bug exists only when using a proxy

Can you replicate it with any of those domains?

https://badssl.com/

@lared Unfortunately not. Not sure if it’s at all helpful, but the error that I get when connecting to our development environment with SSL enabled is Error invoking remote method 'send-http-request': Error: unable to verify the first certificate