In order to sign tokens for registrars to a security certificate is needed. A request for this must be made via UKEC, the process is as follows and shown in the diagram below:
The signed certificate can then be used to generate tokens for registrars to embed in EPP requests. The tokens are validated against our CA when EPP requests are received.
Fig.1 Diagram showing process of obtaining a certificate to use when signing tokens.
If yourVA is the Validation Agency identifier assigned by UKEC, a CSR yourVA.req and private key yourVA.key can be generated using the openssl toolkit.
openssl req -new -nodes -keyout yourVA.key -out yourVA.req The commonName field must be supplied to openssl.
A certificate file yourVA_cert.pem will be generated once the CSR has been forwarded to us by UKEC.
Tokens must be generated using exclusive canonicalization and SHA-1 must be used for the digest.
Two example methods of generating a token are given here:
templatesign -r yourVA.key password -c -x yourVA.pem request.xml > request_signed.xml
openssl pkcs12 -export -in yourVA_cert.pem -inkey yourVA.key -name "yourVA" -out yourVA_cert.p12