Factors
The SCA on your the platform must use two factors. The API key that your platform currently uses to authenticate its API calls can serve as a knowledge-based factor. The second factor Mangopay will use is an mTLS certificate, which your platform will need to set up and integrate as described below.mTLS certificate
Mutual Transport Security Layer (mTLS) is a standard protocol that enables two-way secure authentication between your platform’s server and Mangopay’s server, ensuring both parties are authenticated before data is exchanged. The system works using public-key cryptography, which involves a public-private key pair – the private key is a secret that you must store securely like your existing API key.Set up your mTLS certificate
Note – Feature in development, process for information onlyMangopay’s mTLS functionality is still being finalized. Until then, the process below aims to give you an idea of what will be involved for your platform, but should not be followed.When the mTLS factor is released, your platform will need to complete the steps below to update its integration.The information presented in this process is subject to change.
1. Generate a private key
Your platform will need to generate a private key. You can do this using OpenSSL, which is a widely used software library for cryptographic functions. The following command, for example, creates a file named private.key in the directory where the command is run. This command generates an RSA key, which uses a popular algorithm for public-key cryptography. The length of the key is 2048 bits, a common standard.2. Create a Certificate Signing Request
Once you have the private key, you can use it to generate a Certificate Signing Request (CSR). A CSR is an encoded file that contains a public key and information about your server, and your private key is used to create a secure digital signature. Create the CSR using OpenSSL by running the command below, replacing theClientId variable with your relevant Client ID:
Linux / MacOS
Sandbox