Ability to provide custom CA Certificate bundle for request validation #3617
-
To-Do
UnknownsSince Curl retrieve the base CA bundle from the OS on Mac, it's unclear whether or not setting |
Beta Was this translation helpful? Give feedback.
Replies: 24 comments 14 replies
-
Providing a CA on a per environment or per request basis might provide better flexibility than per workspace. For example talking to Kubernetes API and providing the cert to validate with. |
Beta Was this translation helpful? Give feedback.
-
This is something I'd be very interested in having. I'd love to give a PR a try. |
Beta Was this translation helpful? Give feedback.
-
@aaron-trout I agree that it's more flexible but I don't think the use case for a global CA cert is much more common. If we see enough desire to add per-request CA certs later, we can come up with a mechanism to do so. @coderjoe are you still wanting to give this a try? It might end up being quite a bit of work but I'm happy to point you in the right direction. I'm picturing a new tab in the workspace setting (beside Client Certificates) to upload additional CA certificates. |
Beta Was this translation helpful? Give feedback.
-
@gschier absolutely still interested. I'll likely need help with testing on Mac OSX as I only have Linux and Windows machines. |
Beta Was this translation helpful? Give feedback.
-
Sure, I could definitely help test that out 😄 |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. I very much appreciate the guidance/suggestions. If I run into any snags or questions I'll be sure to ask here. Edit: Right now I'm using the existing certificate model and UI as a template to allow people to add CA Bundles. It's making it pretty easy to jump right in. |
Beta Was this translation helpful? Give feedback.
-
Nice! 👍 😄 |
Beta Was this translation helpful? Give feedback.
-
I’d love to see this feature too and can help test it out. As a workaround, you can also install |
Beta Was this translation helpful? Give feedback.
-
As is probably obvious by lack of commits, I ran into some snags and haven't had time to come back to this issue. If anybody else wants to give it a whack please feel free. I have no significant progress to share at this time. I am still interested in the feature, it just isn't really a critical feature for me anymore. Maybe I'll have time later this year to revisit it. |
Beta Was this translation helpful? Give feedback.
-
Just had the issue with our internal root CA. Would be nice to make this work. |
Beta Was this translation helpful? Give feedback.
-
Yes have this issue as well. Is there any progress on this? Importing CA bundles is something which is useful and think should be included in the app. |
Beta Was this translation helpful? Give feedback.
-
Another +1, I cannot use this without this functionality. |
Beta Was this translation helpful? Give feedback.
-
Hi @lsuttle, there is a PR currently open but is blocked on testing and validating the new functionality (#2020 (comment)). Is this something you may be able to help with? If so, I can prepare a bundle to install on your OS. |
Beta Was this translation helpful? Give feedback.
-
I could help with validation. I'm on elementary OS 5.1.5 (like Ubuntu Precise) and I'm using mkcert as my local CA for API testing. If you can provide a bundle I'd be happy to try it with that configuration. |
Beta Was this translation helpful? Give feedback.
-
Sure I can give it a try, I have most recent Windows 10 install. |
Beta Was this translation helpful? Give feedback.
-
Hi, is this still in consideration? Thanks! :) |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
Still relevant, please leave open =D |
Beta Was this translation helpful? Give feedback.
-
Yis! Mistakenly marked as stale 😞 |
Beta Was this translation helpful? Give feedback.
-
Woohooo, feature accepted! Thanks! 🥳 |
Beta Was this translation helpful? Give feedback.
-
Why was #675 closed? |
Beta Was this translation helpful? Give feedback.
-
What I don't understand yet is why Insomnia ships its own CA trust store in the first place. Both Windows and Linux have builtin certificate stores, which are often managed extensively by IT departments to include custom CAs and most common official ones. If Insomnia would simply use the OS trust store, the need for a custom implementation in Insomnia would go away. Everybody who needs a special CA certificate could simply add it to the OS trust store (where it usually is already present, most issues here seem to be that custom CAs are not present in Insomnia). |
Beta Was this translation helpful? Give feedback.
-
Hi @wdawson, can you kindly give us an update? This issue has been open since 2017(!) and there is only one hacky workarounds on Linux and Mac, but this is still not something most users are happy with. Also, there's no known workaround for Windows users. Thanks! The hacky Un*x workaround: https://kdecherf.com/blog/2018/07/13/force-insomnia-to-use-the-system-trust-store/ |
Beta Was this translation helpful? Give feedback.
-
Is this issue this being considered? Had to downgrade to 2022.3.0 after an upgrade to 2022.6.0, which no longer included the ability to replace the ca-certs.pem temp file. Moreover, it would be great if next to the 'client certificates' there is an option to just add custom CA certificates... |
Beta Was this translation helpful? Give feedback.
Is this issue this being considered? Had to downgrade to 2022.3.0 after an upgrade to 2022.6.0, which no longer included the ability to replace the ca-certs.pem temp file.
Moreover, it would be great if next to the 'client certificates' there is an option to just add custom CA certificates...