Before you start
opensslinstalled on the system where you will generate keys and CSRs.- Your Fexco-assigned acquirer ID, a three-letter alphabetic code such
as
TST, provided by your Fexco project manager during onboarding.
1
Generate a private key
Run the following command in your terminal. ReplaceYOUR_ACQUIRER_ID
with your three-letter acquirer identifier. The command saves the
private key to client_YOUR_ACQUIRER_ID.key in your current
directory. Subsequent steps reference this file by name.2
Create an OpenSSL configuration file
In the same directory as your private key, create a file namedopenssl-san.cnf with the contents below.Replace
C, ST, and L with your own country, state, and
location. The values below are placeholders only.YOUR_COUNTRY_CODE, YOUR_STATE, YOUR_CITY,
YOUR_ACQUIRER_ID, YOUR_CARD_ACCEPTOR_ID, YOUR_CLIENT_NAME, and
YOUR_TEAM_EMAIL with your own values.The table below describes the fields validated during certificate
signing and API authentication:3
Generate the Certificate Signing Request
ReplaceYOUR_ACQUIRER_ID with your acquirer ID and run the command
in your terminal. It uses the private key from step 1
(client_YOUR_ACQUIRER_ID.key) and the configuration file from step 2
(openssl-san.cnf) to produce a .csr file, the file you will
submit to Fexco for signing. openssl creates it automatically in
your current directory.4
Validate the CSR
Run this command in your terminal before submitting the CSR. It prints the CSR contents as human-readable text directly in your terminal.Organisation (O)matches your acquirer ID exactly.Organisational Unit (OU)matches your card acceptor ID exactly.X509v3 Subject Alternative Nameshows a team mailbox, not an individual address.- Public key algorithm shows RSA 4096-bit.
- Signature algorithm shows
sha256.
5
Submit the CSR to Fexco
Send only the.csr file to Fexco for signing. Do not send the
private key.The CSR submission channel is confirmed during onboarding. Contact
your Fexco project manager for instructions on where to submit the
file.
Security best practices
- Never share your private key: Only the
.csrfile is shared with Fexco. - Rotate certificates before they expire: Request a new certificate before the current one expires to avoid service interruption.
- Store private keys securely: Use a Hardware Security Module (HSM) or a secure key store in production environments.
Next steps
Once Fexco returns your signed certificate, you are ready to authenticate Rate Service Connect API requests.- JWT authentication (Rate Service Connect API): use your certificate to build and sign a JWT for each Rate Service Connect API request.
