JetClient / jet-client-support

JetClient is an advanced REST API Client plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/21173-jetclient
110 stars 0 forks source link

API Request to an application using a self-signed certificate will not work #20

Closed filliravaz closed 1 year ago

filliravaz commented 1 year ago

Describe the bug

Applications using a self-signed certificate not running on a standard port won't work

Steps to reproduce

  1. Have an application expose an API to a non-standard port with a self-signed certificate
  2. Execute a request to that API
  3. Allow the self-signed certificate
  4. Observe the error Error: Certificate for IP> doesn't match any of the subject alternative names: []

Expected behavior

The request should go through, and retrieve the response of the API request.

Environment information:

AntonShuvaev commented 1 year ago

Thanks for reporting the issue. Will look into it.

AntonShuvaev commented 1 year ago

I've added an option to disable certificate hostname verification Settings > Tools > JetClient > Host name verification. Please update to version 2023.1.10 and disable this option to resolve the problem.