AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

error when trying to establish connection

Open kokanogl opened this issue 3 years ago • 1 comments

Preflight Checklist

Storage Explorer Version

1.24.3

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20220617.2

Platform

Windows

OS Version

Windows 10

Bug Description

{ "message": ""{\n \"name\": \"Error\",\n \"message\": \"self signed certificate in certificate chain\",\n \"stack\": \"Error: self signed certificate in certificate chain\\n at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)\\n at TLSSocket.emit (node:events:390:28)\\n at TLSSocket._finishInit (node:_tls_wrap:944:8)\\n at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)\",\n \"code\": \"SELF_SIGNED_CERT_IN_CHAIN\"\n}"" }

Steps to Reproduce

  1. Launch Explorer
  2. Reauthenticate now

Actual Experience

ususally can see the CSD subscriptions that I need to save file too

Expected Experience

No response

Additional Context

No response

kokanogl avatar Aug 01 '22 20:08 kokanogl

@kokanogl Are you behind a proxy when using Storage Explorer? Certain proxy servers use self-signed certificates that we cannot verify with the public CAs. We have sections in our troubleshooting guide describing how to find and import the certificates https://docs.microsoft.com/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2004#import-ssl-certificates. If you cannot resolve the problem following the steps, please contact your network administrator to find out what might be intercepting your internet connection.

JasonYeMSFT avatar Aug 04 '22 21:08 JasonYeMSFT

@kokanogl Are you behind a proxy when using Storage Explorer? Certain proxy servers use self-signed certificates that we cannot verify with the public CAs. We have sections in our troubleshooting guide describing how to find and import the certificates https://docs.microsoft.com/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2004#import-ssl-certificates. If you cannot resolve the problem following the steps, please contact your network administrator to find out what might be intercepting your internet connection.

@JasonYeMSFT, I too am having this issue. Just installed Az Storage Explorer today (8/16/22) and tried to authenticate. I'm receiving the same SELF_SIGNED_CERT_IN_CHAIN error that @kokanogl was receiving. I checked the Proxy settings under "Configure Proxy" in the Edit menu and it is set to "Do not use proxy". I am not behind a proxy at work.

image

guruizzy avatar Aug 16 '22 16:08 guruizzy

Here is my error details:

{ "message": "\"{\\n \\\"name\\\": \\\"Error\\\",\\n \\\"message\\\": \\\"self signed certificate in certificate chain\\\",\\n \\\"stack\\\": \\\"Error: self signed certificate in certificate chain\\\\n at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)\\\\n at TLSSocket.emit (node:events:526:28)\\\\n at TLSSocket._finishInit (node:_tls_wrap:944:8)\\\\n at ssl.onhandshakedone (node:_tls_wrap:725:12)\\\",\\n \\\"code\\\": \\\"SELF_SIGNED_CERT_IN_CHAIN\\\"\\n}\"" }

guruizzy avatar Aug 16 '22 16:08 guruizzy

@guruizzy please try enabling system proxy as @JasonYeMSFT suggested. Thanks.

MRayermannMSFT avatar Aug 22 '22 17:08 MRayermannMSFT

Closing due to lack of response. If you still have problem after taking our recommended action, please open a new issue.

JasonYeMSFT avatar Sep 19 '22 17:09 JasonYeMSFT