SSL connection could not be established to login.microsoftonline.com
Hey!
One of our three developers are receiving this error when trying to authenticate and fetch user tokens through Azure:
Is there a clear reasion for this error? The error is only present when running through the .NET application, not when trying to CURL the same information.
One of our three developers are receiving this error when trying to authenticate and fetch user tokens through Azure:
info: Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter[0]
IDX10234: Audience Validated.Audience: '828d9cb6-1388-4ccd-a4be-3142c00bfd40'
fail: Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter[0]
Message: IDX20804: Unable to retrieve document from: 'https://login.microsoftonline.com/22d38a39-3819-4265-b19c-1da98686b272/v2.0/.well-known/openid-configuration'., InnerException: System.Net.Http.HttpRequestException.
fail: Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter[0]
Message: IDX20806: Unable to obtain an updated configuration from: 'https://login.microsoftonline.com/22d38a39-3819-4265-b19c-1da98686b272/v2.0/.well-known/openid-configuration'. Returning the current configuration. Exception: 'System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://login.microsoftonline.com/22d38a39-3819-4265-b19c-1da98686b272/v2.0/.well-known/openid-configuration'.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
...info: Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter[0]
IDX10234: Audience Validated.Audience: '828d9cb6-1388-4ccd-a4be-3142c00bfd40'
fail: Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter[0]
Message: IDX20804: Unable to retrieve document from: 'https://login.microsoftonline.com/22d38a39-3819-4265-b19c-1da98686b272/v2.0/.well-known/openid-configuration'., InnerException: System.Net.Http.HttpRequestException.
fail: Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter[0]
Message: IDX20806: Unable to obtain an updated configuration from: 'https://login.microsoftonline.com/22d38a39-3819-4265-b19c-1da98686b272/v2.0/.well-known/openid-configuration'. Returning the current configuration. Exception: 'System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://login.microsoftonline.com/22d38a39-3819-4265-b19c-1da98686b272/v2.0/.well-known/openid-configuration'.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
...Is there a clear reasion for this error? The error is only present when running through the .NET application, not when trying to CURL the same information.