Skip to main content

FPS e-Cert Certificate Application and Setup Guide

info

This guide is required if you are an FPS merchant using App-to-App payment, especially for HSBC merchants.


When Do You Need an e-Cert?

If you are integrating FPS App-to-App with a merchant-specific Universal Link, an e-Cert (Server certificate) is required to secure the domain.

This applies to banks like HSBC, which operate in direct integration mode and require domain validation and organisation name matching.


Important Notes for FPS App-to-App Certificate

warning

The merchant organisation name (subject field in the X.509 certificate) must exactly match the payee name registered in the FPS Addressing Service.

This requirement comes from FPS Technical Specification 6.9.2.

Payment App MUST validate the organization name inside the subject field of the merchant’s certificate (in x509 format) matches the payee name returned from the FPS addressing service.

The certificate domain name is assigned and configured by QFPay based on the integration context. Merchants do not select this domain themselves.

Each distinct domain requires a separate e-Cert application (e.g. fps.payment.example-shop.com), which incurs additional application cost and processing time.


FPS e-Cert Application Overview

StepDescription
1Fill the application form CPos 798F
2Submit the form in person at any Hongkong Post office
3Present authorised ID and pay the subscription fee
4Receive PIN envelope used to submit the CSR
5Generate and submit CSR via designated e-Cert portal
6Wait ~10 working days for approval and domain/email validation
7Upon approval, submit CSR to issue certificate
8Download and install the e-Cert to your HTTPS server

CSR Generation Requirements

Before submitting the certificate application, you must generate a Certificate Signing Request (CSR). An example of the OpenSSL command:

openssl req -new -SHA256 -newkey rsa:2048 -nodes \
-keyout <key_name>.key \
-out <cert_name>.csr \
-subj "/C=HK/ST=HongKong/L=HongKong/O=<Your_Organisation_Name>/OU=/CN=<your_domain>"

Parameter Breakdown:

FieldDescription
-newkey rsa:2048Generate a new RSA key pair (2048-bit)
-nodesSkip password encryption for the private key
-keyoutFile path to save the private key
-outFile path to save the generated CSR
-subjSubject fields included in the certificate

Notes:

  • The O= (organisation name) must exactly match the FPS payee name registered in the FPS Addressing Service.
  • The CN= (common name) is the domain name to be configured by QFPay on a case-by-case basis.
  • Leave OU= empty if there is no department specified.

Documents Required

  • Completed CPos Form 798F
  • Business Registration (BR) Copy
  • Company Incorporation (CI) Copy
  • Domain Ownership Proof (e.g. invoice, DNS panel screenshot, domain email confirmation)

FPS Specification Reference

Section 6.9.2 – Certificate Validation Logic
The Payment App (e.g. HSBC app) will validate that the Organisation Name (O) in the X.509 certificate matches the FPS payee name.

This comparison is:

  • Case-insensitive
  • Whitespace-insensitive

Failure to match will result in payment rejection.


Resources