Version Affected: [All]
Description:
When setting up an OpenID realm, you may see a server_error when signing into the realm. Upon reviewing the Debug log, you will see the following:
Message="[AuthorizeEndpoint].[ProcessConsent]: Exception: System.ArgumentNullException: IDX10000: The parameter 'certificate' cannot be a 'null' or an empty object.
Parameter name: certificate
at Microsoft.IdentityModel.Tokens.SigningCredentials..ctor(X509Certificate2 certificate)
at SecureAuth.IdentityModel.OpenIDConnect.Services.TokenService.SignJwtToken(RealmElement realmConfig, ClientElement client, List`1 claims, IEnumerable`1 audiences)
at SecureAuth.IdentityModel.OpenIDConnect.Services.TokenService.CreateIdentityToken(String jti, RealmElement realmConfig, ClaimsPrincipal subject, ClientElement client, OpenIdConnectSection oidcConfiguration, String nonce, String atHash, String cHash)
at SecureAuth.IdentityModel.OpenIDConnect.Handlers.AuthorizeEndpointHandler.ProduceResponseContent()
at SecureAuth.IdentityModel.OpenIDConnect.Endpoints.AuthorizeEndpoint.DeliverResponseContent()
at SecureAuth.IdentityModel.OpenIDConnect.Endpoints.AuthorizeEndpoint.ProcessConsent()"
Cause:
There is not a certificate selected for the signing certificate in the Post Authentication tab. Even if this is not necessarily being used, a certificate is still required to be selected.
Resolution:
Select a signing certificate in the Post Authentication tab of the realm.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
Please sign in to leave a comment.