Test Name | fapi1-advanced-final-brazil-dcr-bad-mtls |
---|---|
Variant | client_auth_type=mtls, fapi_auth_request_method=by_value, fapi_profile=openbanking_brazil, fapi_response_mode=plain_response |
Test ID | suHTdvTQfz7c2rM https://www.certification.openid.net/log-detail.html?public=true&log=suHTdvTQfz7c2rM |
Created | 2022-11-16T14:40:38.349922Z |
Description | Certification DCR |
Test Version | 5.0.7 |
Test Owner | 108519374099898381182 https://accounts.google.com |
Plan ID | ojGrQDqzW85Vb https://www.certification.openid.net/plan-detail.html?public=true&plan=ojGrQDqzW85Vb |
Exported From | https://www.certification.openid.net |
Exported By | 108519374099898381182 https://accounts.google.com |
Suite Version | 5.0.7 |
Exported | 2022-12-01 12:36:10 (UTC) |
Status: FINISHED Result: PASSED |
SUCCESS 41 FAILURE 0 WARNING 0 REVIEW 0 INFO 1 |
2022-11-16 14:40:38 |
INFO
|
TEST-RUNNER
Test instance suHTdvTQfz7c2rM created
|
||||||||||||||
|
2022-11-16 14:40:38 |
SUCCESS
|
CreateRedirectUri
Created redirect URI
|
||
|
2022-11-16 14:40:38 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||
|
2022-11-16 14:40:38 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-11-16 14:40:38 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-11-16 14:40:38 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-11-16 14:40:38 |
SUCCESS
|
CheckServerConfiguration
Found required server configuration keys
|
||
|
2022-11-16 14:40:38 |
|
FetchServerKeys
Fetching server key
|
||
|
2022-11-16 14:40:38 |
|
FetchServerKeys
HTTP request
|
||||||||
|
2022-11-16 14:40:38 |
RESPONSE
|
FetchServerKeys
HTTP response
|
||||||||
|
2022-11-16 14:40:38 |
|
FetchServerKeys
Found JWK set string
|
||
|
2022-11-16 14:40:38 |
SUCCESS
|
FetchServerKeys
Found server JWK set
|
||
|
2022-11-16 14:40:38 |
SUCCESS
|
CheckServerKeysIsValid
Server JWKs is valid
|
||
|
2022-11-16 14:40:38 | SUCCESS |
ValidateServerJWKs
Valid server JWKs: keys are valid JSON, contain the required fields and are correctly encoded using unpadded base64url
|
|
2022-11-16 14:40:38 | SUCCESS |
CheckForKeyIdInServerJWKs
All keys contain kids
|
|
2022-11-16 14:40:38 | SUCCESS |
EnsureServerJwksDoesNotContainPrivateOrSymmetricKeys
Jwks does not contain any private or symmetric keys
|
|
2022-11-16 14:40:38 | SUCCESS |
FAPIEnsureMinimumServerKeyLength
Validated minimum key lengths for server_jwks
|
||
|
2022-11-16 14:40:38 |
SUCCESS
|
ValidateMTLSCertificatesHeader
MTLS certificates header is valid
|
|
2022-11-16 14:40:38 |
SUCCESS
|
ExtractMTLSCertificatesFromConfiguration
Mutual TLS authentication credentials loaded
|
||||||
|
2022-11-16 14:40:38 |
SUCCESS
|
ExtractJWKSDirectFromClientConfiguration
Extracted client JWK
|
||||
|
2022-11-16 14:40:38 | SUCCESS |
CheckDistinctKeyIdValueInClientJWKs
Distinct 'kid' value in all keys of client_jwks
|
||
|
Obtain access token for directory and retrieve a software statement |
2022-11-16 14:40:38 |
SUCCESS
|
ExtractDirectoryConfiguration
Extracted directory configuration parameters
|
||||
|
2022-11-16 14:40:38 | SUCCESS |
FAPIBrazilOpenBankingCheckDirectoryDiscoveryUrl
Directory Discovery URL matches the Brazil directory.
|
||
|
2022-11-16 14:40:38 | SUCCESS |
FAPIBrazilOpenBankingCheckDirectoryApiBase
Directory API base matches the Brazil directory.
|
||
|
2022-11-16 14:40:38 |
|
GetDynamicServerConfiguration
HTTP request
|
||||||||||
|
2022-11-16 14:40:38 |
RESPONSE
|
GetDynamicServerConfiguration
HTTP response
|
||||||||
|
2022-11-16 14:40:38 |
SUCCESS
|
GetDynamicServerConfiguration
Successfully parsed server configuration
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2022-11-16 14:40:38 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-11-16 14:40:38 |
|
CreateTokenEndpointRequestForClientCredentialsGrant
Leaving off 'scope' parameter from token request
|
|
2022-11-16 14:40:38 |
SUCCESS
|
CreateTokenEndpointRequestForClientCredentialsGrant
Created token endpoint request
|
||
|
2022-11-16 14:40:38 |
SUCCESS
|
SetDirectorySoftwareScopeOnTokenEndpointRequest
Set scope parameter to 'directory:software'
|
||||
|
2022-11-16 14:40:38 |
|
AddClientIdToTokenEndpointRequest
|
||||||
|
2022-11-16 14:40:38 |
|
CallTokenEndpoint
HTTP request
|
||||||||||
|
2022-11-16 14:40:39 |
RESPONSE
|
CallTokenEndpoint
HTTP response
|
||||||||
|
2022-11-16 14:40:39 |
SUCCESS
|
CallTokenEndpoint
Parsed token endpoint response
|
||||||||
|
2022-11-16 14:40:39 |
SUCCESS
|
CheckIfTokenEndpointResponseError
No error from token endpoint
|
|
2022-11-16 14:40:39 |
SUCCESS
|
CheckForAccessTokenValue
Found an access token
|
||
|
2022-11-16 14:40:39 |
SUCCESS
|
ExtractAccessTokenFromTokenResponse
Extracted the access token
|
||||
|
2022-11-16 14:40:39 | SUCCESS |
AddMTLSEndpointAliasesToEnvironment
Added mtls_endpoint_aliases to environment
|
|
2022-11-16 14:40:39 |
SUCCESS
|
FAPIBrazilExtractClientMTLSCertificateSubject
Extracted subject from MTLS certificate
|
||||||
|
2022-11-16 14:40:39 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP request
|
||||||||||
|
2022-11-16 14:40:40 |
RESPONSE
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
HTTP response
|
||||||||
|
2022-11-16 14:40:40 |
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
software statement endpoint response
|
||
|
2022-11-16 14:40:40 |
SUCCESS
|
FAPIBrazilCallDirectorySoftwareStatementEndpointWithBearerToken
Parsed assertion endpoint response
|
||||||
|
Perform Dynamic Client Registration |
2022-11-16 14:40:40 |
|
StoreOriginalClientConfiguration
Created original_client_config object from the client configuration.
|
||||||||||||
|
2022-11-16 14:40:40 |
|
ExtractClientNameFromStoredConfig
Extracted client_name from stored client configuration.
|
||
|
2022-11-16 14:40:40 | SUCCESS |
FAPIBrazilExtractJwksUriFromSoftwareStatement
Extracted JWKS URI from software statement
|
||
|
2022-11-16 14:40:40 |
|
CreateEmptyDynamicRegistrationRequest
Created empty dynamic registration request
|
|
2022-11-16 14:40:40 |
|
AddAuthorizationCodeGrantTypeToDynamicRegistrationRequest
Added 'authorization_code' to 'grant_types'
|
||
|
2022-11-16 14:40:40 |
|
AddImplicitGrantTypeToDynamicRegistrationRequest
Added 'implicit' to 'grant_types'
|
||
|
2022-11-16 14:40:40 |
|
AddRefreshTokenGrantTypeToDynamicRegistrationRequest
Added 'refresh_token' to 'grant_types'
|
||
|
2022-11-16 14:40:40 |
|
AddClientCredentialsGrantTypeToDynamicRegistrationRequest
Added 'client_credentials' to 'grant_types'
|
||
|
2022-11-16 14:40:40 |
|
AddTlsClientAuthSubjectDnToDynamicRegistrationRequest
Added tls_client_auth_subject_dn to dynamic registration request
|
||
|
2022-11-16 14:40:40 |
|
AddJwksUriToDynamicRegistrationRequest
Added jwks_uri to dynamic registration request
|
||
|
2022-11-16 14:40:40 |
|
AddTokenEndpointAuthMethodToDynamicRegistrationRequestFromEnvironment
Added token endpoint auth method to dynamic registration request
|
||
|
2022-11-16 14:40:40 |
|
SetResponseTypeCodeIdTokenInDynamicRegistrationRequest
Added response_type 'code id_token' to dynamic registration request
|
||
|
2022-11-16 14:40:40 |
|
FapiBrazilVerifyRedirectUriContainedInSoftwareStatement
Required redirect_uri is present in the software statement
|
||||
|
2022-11-16 14:40:40 |
|
AddRedirectUriToDynamicRegistrationRequest
Added redirect_uris array to dynamic registration request
|
||
|
2022-11-16 14:40:40 |
|
AddSoftwareStatementToDynamicRegistrationRequest
Added software_statement to dynamic registration request
|
||
|
2022-11-16 14:40:40 |
SUCCESS
|
GenerateFakeMTLSCertificate
Generated our own client MTLS certificate based on the supplied one
|
||
|
Call dynamic client registration endpoint with no/bad certificate |
2022-11-16 14:40:40 |
|
CallDynamicRegistrationEndpointAllowingTLSFailure
HTTP request
|
||||||||||
|
2022-11-16 14:40:40 |
SUCCESS
|
CallDynamicRegistrationEndpointAllowingTLSFailure
Call to dynamic registration endpoint failed due to a TLS issue
|
||||||||||||
|
Call dynamic client registration endpoint with correct certificate |
2022-11-16 14:40:40 |
|
CallDynamicRegistrationEndpoint
HTTP request
|
||||||||||
|
2022-11-16 14:40:40 |
RESPONSE
|
CallDynamicRegistrationEndpoint
HTTP response
|
||||||||
|
2022-11-16 14:40:40 |
|
CallDynamicRegistrationEndpoint
Parsed registration endpoint response
|
||||||||||
|
2022-11-16 14:40:40 | SUCCESS |
EnsureContentTypeJson
endpoint_response Content-Type: header is application/json
|
|
2022-11-16 14:40:40 | SUCCESS |
EnsureHttpStatusCodeIs201
dynamic registration endpoint returned the expected http status
|
||||
|
2022-11-16 14:40:40 | SUCCESS |
CheckNoErrorFromDynamicRegistrationEndpoint
Dynamic registration endpoint did not return an error.
|
|
2022-11-16 14:40:40 | SUCCESS |
ExtractDynamicRegistrationResponse
Extracted client from dynamic registration response
|
||
|
2022-11-16 14:40:40 | SUCCESS |
VerifyClientManagementCredentials
Verified dynamic registration management credentials
|
||||
|
2022-11-16 14:40:40 | SUCCESS |
ClientManagementEndpointAndAccessTokenRequired
Client management endpoint and access token were provided by the authorization server.
|
||||
|
2022-11-16 14:40:40 | SUCCESS |
CheckScopesFromDynamicRegistrationEndpointContainRequiredScopes
'scope' in dynamic registration response contains the scopes specified in the test configuration.
|
||||
|
2022-11-16 14:40:40 |
|
CopyScopeFromDynamicRegistrationTemplateToClientConfiguration
Copied scope from original_client_config to client configuration
|
||
|
2022-11-16 14:40:40 |
|
CopyOrgJwksFromDynamicRegistrationTemplateToClientConfiguration
Copied org_jwks from original_client_config to client configuration
|
||
|
2022-11-16 14:40:40 |
|
fapi1-advanced-final-brazil-dcr-bad-mtls
Setup Done
|
|
Call client configuration endpoint with no/bad certificate |
2022-11-16 14:40:40 |
|
CallClientConfigurationEndpointAllowingTLSFailure
HTTP request
|
||||||||||
|
2022-11-16 14:40:40 | SUCCESS |
CallClientConfigurationEndpointAllowingTLSFailure
Call to client configuration endpoint https://api.openbanking.uatbi.com.br/registration/ecbfb1a1-1d1b-4458-b3c2-5e3aaf6677f0 failed due to a TLS issue
|
||||||||||||
|
2022-11-16 14:40:40 |
|
UnregisterDynamicallyRegisteredClientExpectingFailure
HTTP request
|
||||||||||
|
2022-11-16 14:40:40 | SUCCESS |
UnregisterDynamicallyRegisteredClientExpectingFailure
Call to registration_client_uri failed due to a TLS issue as expected
|
||||||||||||
|
Deregister client |
2022-11-16 14:40:40 |
|
UnregisterDynamicallyRegisteredClient
HTTP request
|
||||||||||
|
2022-11-16 14:40:40 |
RESPONSE
|
UnregisterDynamicallyRegisteredClient
HTTP response
|
||||||||
|
2022-11-16 14:40:40 | SUCCESS |
UnregisterDynamicallyRegisteredClient
Client successfully unregistered
|
|
2022-11-16 14:40:40 |
FINISHED
|
fapi1-advanced-final-brazil-dcr-bad-mtls
Test has run to completion
|
||
|
Unregister dynamically registered client |
2022-11-16 14:40:40 |
|
UnregisterDynamicallyRegisteredClient
Couldn't find registration_access_token.
|
|
2022-11-16 14:40:43 |
|
TEST-RUNNER
Alias has now been claimed by another test
|
||||
|