question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Self signed certificate in certificate chain with spo connect

See original GitHub issue

I took a look at the other issue located https://github.com/pnp/office365-cli/issues/447

I have a similar issue. I’m behind a corporate proxy. Here is my ouput with --debug

> o365 spo connect https://tangodp-admin.sharepoint.com --debug
Disconnecting from SPO...
DONE
Authenticating with SharePoint Online at https://tangodp-admin.sharepoint.com...
No existing access token or expired. Token: , ExpiresAt:
Starting Auth.ensureAccessTokenWithDeviceCode. resource: https://tangodp-admin.sharepoint.com, debug: true
No existing refresh token. Starting new device code flow...
Thu, 28 Jun 2018 20:46:41 GMT:76be204b-a071-4fff-932d-ba4957c9e0f1 - Authority: VERBOSE: Performing instance discovery
Thu, 28 Jun 2018 20:46:41 GMT:76be204b-a071-4fff-932d-ba4957c9e0f1 - Authority: VERBOSE: Performing static instance discovery
Thu, 28 Jun 2018 20:46:41 GMT:76be204b-a071-4fff-932d-ba4957c9e0f1 - Authority: VERBOSE: Authority validated via static instance discovery.
Thu, 28 Jun 2018 20:46:41 GMT:76be204b-a071-4fff-932d-ba4957c9e0f1 - DeviceCodeRequest: INFO: Getting user code info.
Response:
undefined
Error:
self signed certificate in certificate chain

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
devinprejeancommented, Jul 23, 2018

We can close this for now. We decided to go another route so it seems this wasn’t acceptable for our use case. Thank you!

1reaction
waldekmastykarzcommented, Jun 29, 2018

@VelinGeorgiev I’m not sure if it’s that. A while back we switched to using ADAL JS for auth, so these requests shouldn’t be coming through request native. I can check if there is anything similar in ADAL JS.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solve error "self-signed certificate in certificate chain"
This article explains how to solve the error "self-signed certificate in certificate chain". The error happens when you're trying to access ...
Read more >
Self signed certificate in certificate chain issue using Azure ...
I get the same error on both system. In case I issue the following command: az login --tenant my-domain.org. I get the following...
Read more >
Why is openssl complaining that my certificate chain is self ...
It considers your root cert to be self-signed because it is; that's the definition of a root cert. If you configure the server...
Read more >
A Simple Explanation of SSL Certificate Errors & How to Fix ...
This error indicates that the SSL certificate is signed or approved by a company that the browser does not trust. That means either...
Read more >
How to ignore invalid and self signed ssl connection errors ...
If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found