Insomnia: Error: Peer certificate cannot be authenticated with given CA certificates

Created on 26 Sep 2019  路  4Comments  路  Source: Kong/insomnia

  • Insomnia Version: 6.6.2
  • Operating System: Windows 10 on Desktop PC

When I am trying to access an SSL endpoint on my private domain, I see the error in the title.

Perhaps the error goes away if I uncheck "Validate certificates" in "Preferences", but I do not want to do that. I want to use SSL verification.

There is ZERO information about why Insomnia does not simply read the global certificate store, or where in the world it looks for root CA certificates on Windows.

If it looked in the global Windows certificate store t would have found a shiny trusted root certificate (self signed) with my private domain name in it.

So my question is: how do I direct Insomnia to read my private root CA, and therefore I do not need to disable "Validate certificates" in Preferences?

stale

All 4 comments

馃憢 Thanks for opening your first issue! If you're reporting a 馃悶 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 馃巵, please provide real
use cases that would benefit. 馃應

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

On Windows, Insomnia uses a bundled CA certificate that is included in the build.

There's no way to define your own at the moment or to use Window's global cert store. For now, disabling SSL validation is the only option.

There's an open issue to improve support for this in the future: #675

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.

Is Insomnia holding any copy of the certificate? The server certificate has expired, it has been replaced by the current one and I am getting this error message even though everything has returned to normal in the regular browser. There was no problem before the certificate expired.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

claratorres picture claratorres  路  3Comments

kalinchernev picture kalinchernev  路  4Comments

misterpickypants picture misterpickypants  路  3Comments

sapeish picture sapeish  路  4Comments

oliverjanik picture oliverjanik  路  3Comments