Last Updated: 25 June 2024 | Change Log

Certificate check

  1. Use your reverse proxy to verify the client certificate that the Access Worldpay Events service sends to your webhook, against the Worldpay Client Certificate chain provided below.
Worldpay's root certificate
-----BEGIN CERTIFICATE-----
MIIKxTCCCK2gAwIBAgITEQAAAAUPMj7fO9tFAwAAAAAABTANBgkqhkiG9w0BAQsF
ADCBgzELMAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExFTATBgNVBAcTDEph
Y2tzb252aWxsZTEvMC0GA1UEChMmRmlkZWxpdHkgTmF0aW9uYWwgSW5mb3JtYXRp
b24gU2VydmljZXMxGjAYBgNVBAMTEUZJU0dMT0JBTCBST09UIENBMB4XDTIyMDQw
NzE3NDQxMVoXDTMyMDQwNzE3NTQxMVowgYwxCzAJBgNVBAYTAlVTMRAwDgYDVQQI
EwdGbG9yaWRhMRUwEwYDVQQHEwxKYWNrc29udmlsbGUxLzAtBgNVBAoTJkZpZGVs
aXR5IE5hdGlvbmFsIEluZm9ybWF0aW9uIFNlcnZpY2VzMSMwIQYDVQQDExpGSVNH
TE9CQUwgUlNBIFBST0QgU1VCIENBMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
AgoCggIBAJ88Bco/rRGrXFDZAhRekfZ+Qs/JKV/5AF8xbXmeOEGIYsujYkou0Xv3
KYTfoKndre95VIrm9/Bsfu2fAZydQHma8ow9hubKNnjneS9TLZbcHiHvnWbJ7nJ9
kqLrOELWWCtuXwT5wN/OhBCv8wZsyrvoLRp8s2Zi+kdAFL0HK8tKQtW7sq+ihnmm
pMQn/m/HyGzl1ScXChbQEdAtvlpRwKIuKy2qTbgb77P/5Kb3H2Po8o985M1vI+ye
W+8cvZcEf8gMx7lsNR/7Xe1qxdQoMsz9lHSSc2XHhy8t0Ck8GsuSqGH64cqXD2lv
IrgjenkRobKIRuLmrhh7yTwvdtm/m9ZPIOZc7Wi3yxdl4Xjx54BIWExRfoxSk7nr
2z7AqQaqIhOWhUfQzHyGssENyTzLffsPYh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X6P+H/1yb2Sg/U/w3joI8SXxQqgkzno
N12yS0IAHpuokcUTctn/GOLaaUPnHIfdjcTH4lx15qukuMYZy6oA0UeRZPrSGJhH
FEBVgpiiItX3FAU092ot/wTCq6d19TczUi37jB1NKRcxrvzB9RWTseCRRIAil6xM
me2frUfFUxGusPfmBDlep7IUEMmw2mDCPZtlSG7eFra9R4+nXAkqAweVDguk71ja
hxTE25Q74KdZf79M5frOWQxkT0Xtpjp3dxHAJcT9tAlP6HDOOZp2TVmeV7A7cdqI
R6FrMivw5EA8QwSTD9sc9bmQnLo3+nLjlAdTAcZ6jBgsoMIpPx52YQ8gUYneYm7u
FlOQ6GGKlROpAngwsPzSgaMfdv10iRiOsw0y2WjHbLflTRRe8zaNFrMhpgo4I6XN
n7Iz4pvwRTbAmmGlH+a5KuyW6oGShPX29xMWRzvsJIiLqi8Tt5kBCZGxzks+4Qgg
ppUobXkoGmHa2syJb7cT3PxaahAxVK4y+TeKwvKx2z5XDnIUdYoJRmjM6fWItJOE
P6NUbwZYB/G4mgmRMOVB0vvTQ8ycufOwsRw=
-----END CERTIFICATE----- 
  1. Configure your webhook URL to request a client certificate during the TLS handshake.
  2. Validate the certificate we sent against the root you have installed.

Validation & Renewal

Our client certificate is renewed regularly and is in line with best practice. You should never configure your server to expect an individually specific certificate. We recommend that you use the following aspects to validate the certificate:

  • The Subject Common Name of the client certificate - this always contains Payment Status Event Sender.
Info

For the Try environment it returns Payment Status Event Sender (secure-test).

  • The root of the signing chain - this has the Common Name UKDC1-PC-PKI02. The root may occasionally change, and you are notified of any changes.
Example Nginx configuration
server {
    listen 8443 ssl;

    # Make sure the certificate is signed by a trusted CA
    ssl_certificate     trusted_ca_signed_certificate.crt;
    ssl_certificate_key private.key;

    # Mutual TLS / Specify the allowed CAs for the client cert
    # This is where you put Worldpay's root certificate from the documentation
    ssl_client_certificate client_cert_cas.pem;
    ssl_verify_client on;
    ssl_verify_depth 3;

    # Mutual TLS / Client Cert Auth - client cert has known subject
    if ($ssl_client_s_dn !~ "Payment Status Event Sender") {
      return 403;
    }

    # Mutual TLS / Client Cert Auth - client cert issuer has known subject
    if ($ssl_client_i_dn !~ "UKDC1-PC-PKI02") {
      return 403;
    }

    location / {
        proxy_pass http://localhost:8080;
    }
}