insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

SSL connect error on URLs with Self Signed Certificates

Open Bevor opened this issue 1 year ago • 6 comments

Expected Behavior

When Preferences->"Validate certificates" == UNCHECKED, then self signed certificates must be accepted

Actual Behavior

After pressing SEND -> Response is...

Error: SSL connect error

Timeline:

  • Preparing request to https://INTERNAL_API/
  • Current time is 2023-08-25T13:18:52.730Z
  • Enable automatic URL encoding
  • Using default HTTP version
  • Enable timeout of 30000ms
  • Disable SSL validation
  • Hostname INTERNAL_API was found in DNS cache
  • Trying fd23:4ab0:9698:7377::b0a:c9e:443...
  • Connected to INTERNAL_API (fd23:4ab0:9698:7377::b0a:c9e:443) port 443 (#6)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • TLSv1.0 (OUT), TLS header, Certificate Status (22):
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • OpenSSL SSL_connect: Connection was reset in connection to INTERNAL_API:443
  • Closing connection 6

Reproduction Steps

Preferences -> Request / Response "Validate certificates" UNCHECK Validate certificates during authentication UNCHECK

Invoke VALID POST request against an URL with a self seigned certifcate (I tried it with an XML request, but actually this does not matter)

Is there an existing issue for this?

Additional Information

Blocker, because there is no way to invoke in house APIs with self signed certifcates.

Insomnia Version

2023.5.6

What operating system are you using?

Windows

Operating System Version

Windows_NT x64 10.0.19045

Installation method

download from insomnia.rest

Last Known Working Insomnia version

No response

Bevor avatar Aug 25 '23 14:08 Bevor

I am also facing the same issue , please let us know any resolution for this

vsvkdeepak7 avatar Aug 29 '23 07:08 vsvkdeepak7

I have the same issue too. Using latest version: 2023.5.8

adrian05 avatar Sep 28 '23 11:09 adrian05

Same error for me 2023.5.7

xenobytezero avatar Oct 06 '23 15:10 xenobytezero

I have the same issue in Insomnia 8.4.5 (which is currently the newest). This is a huge blocker.

nicovanbelle avatar Dec 08 '23 11:12 nicovanbelle

Has this been fixed in the newest version ?

maxstue avatar Apr 08 '24 06:04 maxstue

@maxstue I don't think so, since this bug is still open and not closed.

Bevor avatar Apr 08 '24 16:04 Bevor