AppAuth-iOS icon indicating copy to clipboard operation
AppAuth-iOS copied to clipboard

An SSL error has occurred and a secure connection to the server cannot be made

Open MadhuiOS opened this issue 3 years ago • 1 comments

Error Domain=org.openid.appauth.general Code=-5 "Connection error fetching discovery document my domain/auth/realms/test/.well-known/openid-configuration': An SSL error has occurred and a secure connection to the server cannot be made.." UserInfo={NSLocalizedDescription=Connection error fetching discovery document 'myDomaintest/.well-known/openid-configuration': An SSL error has occurred and a secure connection to the server cannot be made.., NSUnderlyingError=0x600001eb6dc0 {Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(

), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=myDomain/auth/realms/test/.well-known/openid-configuration, NSErrorFailingURLStringKey=myDomain/auth/realms/test/.well-known/openid-configuration, NSUnderlyingError=0x600001e63d50 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x6000021d9220>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802, kCFStreamPropertySSLPeerCertificates=( "" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <C63F7EF1-5C04-40FA-A8FA-F969AC23F74B>.<1>" ), _kCFStreamErrorCodeKey=-9802, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <C63F7EF1-5C04-40FA-A8FA-F969AC23F74B>.<1>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x6000021d9220>, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made.}}}

MadhuiOS avatar Mar 09 '22 04:03 MadhuiOS

Does it require any configuration changes in code?

chetan-duke avatar Jan 21 '25 16:01 chetan-duke