Skip to content

Use system CA certificates and/or allow specifying additional CA certificates #1080

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

Closed
brki opened this issue Nov 28, 2023 · 3 comments · Fixed by #1863
Closed

Use system CA certificates and/or allow specifying additional CA certificates #1080

brki opened this issue Nov 28, 2023 · 3 comments · Fixed by #1863

Comments

@brki
Copy link

brki commented Nov 28, 2023

On a Mac, I try to access a resource that uses a custom CA certificate; it fails with:

Error invoking remote method 'send-http-request': Error: self signed certificate in certificate chain

I already have that CA certificate in my keychain, so I can access corporate websites that use that CA certificate in a browser.

I am aware of the possibility to disable SSL verification, but don't like that idea. And neither do the security guys where I work.

I saw the issues #739 and #211 , which have a similar title and intention, but those people were satisfied when they discovered they could uncheck the SSL/TLS Certificate Validation checkbox.

Ideally, bruno would use the system CA certificates.

Insomnia has the same issue of not using the system certificates, but it allows specifying a CA certificate file to use. A solution like that would work for me too.

Is there by chance already some environment variable that I could use when launching bruno, so that it would look in a given file for certificates? In #739, NODE_EXTRA_CA_CERTS was mentioned (didn't work, apparently).

And thanks for bruno!

@brki
Copy link
Author

brki commented Jan 31, 2024

I see it's possible to specify a custom CA certificate now 😎 .

Thank you!

For ease of use, having the system CA certificates used would still be an improvement.

@j-lebek
Copy link
Contributor

j-lebek commented Mar 13, 2024

First, let me express my satisfaction with this tool. Bruno is a valuable tool! Thanks for creating and maintaining!

I use custom CA certificates for some calls, too. I figured that I can also provide one file containing multiple CA certificates, which is very helpful.

What I am missing though, is having the option to go with the default set of commonly accepted CA certificates and add a few more CA certificates for some specific systems.

At the moment, I get myself going by either ticking off Use custom CA certificate when connecting to systems that use official certificates – and re-enable this option (which fortunately keeps the file reference ❤️ ) when connecting to systems using certificates issued by private CAs.

I would appreciate, if there was a choice of either extending or replacing the list of trusted CAs.
Thank you!

@slowjoe007
Copy link
Contributor

Addressed in #1863

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants