Wednesday, December 14, 2022

Microsoft Azure Storage Explorer - "Error: self signed certificate in certificate chain"

We've been moving resource around in Azure and one of the tools we've been using is Microsoft Azure Storage Explorer.  One question I get asked frequently is how to resolve the following Certificate error when logging in:

{

  "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}\""

}


Fortunately, the solution is extremely simple.  Although the option is in "Preview", its been working fantastic.   Go to Edit -->  Settings and change the Proxy Configuration to "Use system proxy (preview)".



Thats it.  No more login errors and I'm able to see all my resources.   Hope this helps!