1
Generate a certificate
You need a Command Line Interface (CLI) with
openssl (e.g. Terminal on macOS, or WSL on Windows).- Navigate to the directory where you want to save the certificate.
- Run:
- You’ll be prompted for organization details for the certificate’s Distinguished Name. You can leave most fields blank, but at least one (e.g. Country Name) is required for the public certificate to generate successfully.
privatekey.pem (keep this — you’ll paste it into Nango) and publiccert.cer (upload this to Revolut).2
Upload your certificate
- Log in to the Revolut Business web app (or Sandbox for testing), and go to Business API settings (gear icon -> APIs -> Business API).
- In API Certificates, click Add API certificate.
- Open
publiccert.cerin a text editor (or runcat publiccert.cer) and paste its full contents — including the-----BEGIN CERTIFICATE-----/-----END CERTIFICATE-----lines — into the X509 public key field. - Set the OAuth redirect URI to:
https://api.nango.dev/oauth/callback. - Give the certificate a meaningful title, then click Continue.
- Copy the ClientID shown in the certificate details — you’ll need it when configuring the integration in Nango.
Optionally, restrict the certificate to specific IP addresses under IP whitelisting. If you do, make sure to include Nango’s public IP addresses.
3
Next
Follow the Quickstart to connect your first account, using the Client ID from this step and the Private Key (
privatekey.pem) you generated.