...
...
...
...
...
...
This document discusses how WSO2 Open Banking has implemented the
...
Electronic Identification, Authentication
...
& Trust Services (eIDAS)
...
Regulation.
...
Tip |
---|
|
In order to try out the flows with the eIDAS approach, Third-Party Providers(TPPs) have to be registered in a Qualified Trust Service Provider (QTSP). Note |
---|
If you are testing the WSO2 Open Banking solution for UK compliance, you can use either of the following: - Original eIDAS certificates:
- Qualified Website Authentication Certificate (QWAC)
- Qualified e-Seal Certificate (QSealC)
- Open Banking (OB) certificates:
- Open Banking Web Authentication Certificate (OBWAC)
- Open Banking e-Seal Certificate (OBSealC)
OB certificates are issued by the Open Banking Implementation Entity (OBIE) directory Directory upon registering as a Third-Party Provider (TPP). Click here to find instructions on generating OBWAC and OBSealC. |
In order to support eIDAS or OBIE OB certificates in WSO2 Open Banking, you need to update the client trust stores. Expand |
---|
title | Click here to see how it is done... |
---|
| Localtabgroup |
---|
Localtab |
---|
| Background Color |
---|
| In order to support OB certificates in WSO2 Open Banking, upload the OBIE root and issuer certificates to the client trust stores as follows: - Download the OBIE root and issuer certificates from the following locations:
In sandbox environment, upload certificates from https://openbanking.atlassian.net/wiki/spaces/DZ/pages/252018873/OB+Root+and+Issuing+Certificates+for+Sandbox. In production environment, upload certificates from https://openbanking.atlassian.net/wiki/spaces/DZ/pages/80544075/OB+Root+and+Issuing+Certificates+for+Production.
Use the following commands to add the certificate to the client trust stores of WSO2 OB APIM and WSO2 OB KM: Code Block |
---|
language | bash |
---|
title | Add root certificate |
---|
| keytool -import -alias tpproot -file <OB_ROOT_CERT> -keystore client-truststore.jks -storepass wso2carbon |
Code Block |
---|
language | bash |
---|
title | Add issuer certificate |
---|
| keytool -import -alias tppissuer -file <OB_ISSUING_CERT> -keystore client-truststore.jks -storepass wso2carbon |
Info |
---|
The client trust stores are located in the WSO2 OB APIM and WSO2 OB KM servers in the following locations respectively: <WSO2_OB_APIM>/repository/resources/security/client-truststore.jks <WSO2_OB_KM>/repository/resources/security/client-truststore.jks
|
|
|
Localtab |
---|
| Background Color |
---|
| In order to support QWAC and QSealC in WSO2 Open Banking, the client trust store must contain all the root certificates of the QTSPs in the UK and the EU region. |
|
|
|
|
...
Table of Content Zone |
---|
|
Client registrationWSO2 Open Banking provides eIDAS support for Dynamic Client Registration (DCR) and Manual Client Registration (MCR). For client registration, the following certificates must be used: - a A website authentication certificate to secure the transport layer (QWAC or OBWAC)
- an An e-seal certificate to secure the application layer (QSealC or OBSealC)
Dynamic Client Registration (DCR)- The TPP must generate a Software Statement Assertion (SSA) in the OBIE directoryOB Directory.
- The TPP must associate transport and application layer certificates with the Software Statement.
- Once associated, the certificates are available in the SSA under the the
software_jwks_endpoint parameter. Invoke the DCR endpoint using the QWAC/OBWAC as the transport certificate in the request header. To find sample request and response for the API invocation, see Registering an application. Info |
---|
The application registration request relies on Mutual Transport Layer Security (MTLS) authentication for TPP authentication to validate the TPP. Thereby, the Account Servicing Payment Service Provider (ASPSP) extracts: -
software_jwks_endpoint from the SSA and validates whether the transport certificate that is used to initiate the MTLS connection contains in the software_jwks_endpoint . -
software_jwks_endpoint from the SSA and stores in the application for future validations during token generation and API invocations.
|
The following diagram describes how the ASPSP validates the TPP in the DCR flow:
Follow the instructions given in the following documents Following documents explain how to configure DCR in WSO2 Open Banking: Manual Client Registration (MCR)- The TPP must generate a Software Statement Assertion (SSA) in the OBIE directoryOB Directory.
- The TPP must associate transport and application layer certificates with the Software Statement.
- Once associated, the certificates are available in the SSA under the
software_jwks_endpoint parameter. - Login Log in to the API Store in WSO2 Open Banking Store and create an application by providing the generated Software Statement Assertion (SSA). To find how it is done, see Manual Client Registration - Create an application. The ASPSP extracts
software_jwks_endpoint from the SSA and saves it in the application for future validations during token generation and API invocations.
Follow the instructions given here to configure DCR in WSO2 Open Banking: Token generationWSO2 Open Banking supports Private Key JSON Web Token (JWT) and MTLS as token authentication methods. Authentication method | Description |
---|
Private Key JWT | Sign JWT using QSealC or OBSealC. The signing certificate needs to be mentioned under software_jwks_endpoint of the SSA. | MTLS | Initiate the access token request using the QWAC or OBWAC certificate as the certificate for mutual authentication. In the request header, mention the path to the public and private keys of the transport certificate. To find the sample request for the user-access token, see Account and Transaction API. Thereby, the public key of the transport certificate provided for the token endpoint will be verified against the software_jwks_endpoint in the SSA. | The following diagram describes how the token generation is implemented in WSO2 Open Banking with accordance to eIDAS:
For more information about the token authentication methods used in WSO2 Open Banking, see API Security. API invocationAPIs are protected using MTLS, which uses the QWAC or OBWAC as the transport certificate in each of the request headers. To enable to MTLS validations in the API invocations, see Configuring Mutual Transport Layer Security. |
...