rozpuszczalny / vscode-redmine

Redmine extension for Visual Studio Code.
MIT License
43 stars 17 forks source link

NodeJS Request Error (Error) ... routines:OPENSSL_internal:KEY_USAGE_BIT_INCORRECT #62

Open dominch opened 1 year ago

dominch commented 1 year ago

Describe the bug

Extension cannot connect to redmine api via url with following error.

NodeJS Request Error (Error): write EPROTO 730504:error:1000012e:SSL routines:OPENSSL_internal:KEY_USAGE_BIT_INCORRECT:..\..\third_party\boringssl\src\ssl\ssl_cert.cc:607:

Probably error is caused by something related to certificate issued from company CA. Also option to use self signed cert makes no effect at all so extension remains empty.

To Reproduce

Probably:

  1. using xca to create own CA certificate
  2. adding this CA to system as its done on every company
  3. issue certificate signed by this CA
  4. make any site using this certificate
  5. enter url on extension tab

Expected behavior

Redmine is accessible and secured via trusted certificate generated with trusted company CA, works with every browser on system. This extension should either know about additional CA or allows to use such certificate via suitable flag. Maybe the one already present is ok for self-signed, but here it's trusted CA added via policies.

Pozdrawiam :)