Moving to production
The test environment and production are separate: in production, the service, the identifiers, the signing API key and the time stamp service are all different. Before you go live, check the following.
Service and access
Section titled “Service and access”- In the production Certilia Developer portal you have a signing service with a paid package that matches the expected number of signatures (the trial package is valid for one month).
- The service holds the production addresses of your application: the base URL, the URL for the signed data, the
success and error URLs and, if you use it, the URL for signed documents. All of them use
httpswith a valid server certificate. - Your server uses the
systemId,serviceIdanddocumentIdof the production service (the service’s page, Integration tab). - You keep the signing API key of the production service secret, outside your code and repositories.
- For levels T, LT and LTA you have a production time stamp service with a package of adequate size, and you send its
access data in
tsaAccess(see Signature levels and time stamps). - On the service’s page, on the Notices tab, you have entered the address for reminders before the service ends and for package usage warnings.
Addresses
Section titled “Addresses”| Service | Production |
|---|---|
| ePotpis API | https://esign.certilia.com/api/v2/epotpis |
| ePotpis, signing page | https://esign.certilia.com/epotpis/ |
| PAdES web API | https://api.certilia.com/pades/v2 |
| XAdES web API | https://api.certilia.com/xades/v1 |
| JAdES web API | https://api.certilia.com/jades/v1 |
TSA (for tsaAccess.url) |
https://tsa.certilia.com/qts |
- Your servers can reach these addresses over TLS 1.2 or 1.3, and ePotpis can reach your URL for the signed data.
Flow and errors
Section titled “Flow and errors”- The user sees the whole document before you redirect them to ePotpis.
- Before you embed the signature, you check that the token and the verification codes belong to a transaction your server opened.
- You record a refused signing (an
errorobject in step 5) and do not call PostSign. - For XML and JSON you embed the signature within 20 minutes of the preparation, and for PDF within 24 hours.
- You handle errors by
codeormessage, not bydescription(see Errors), and you logtraceIdfor support. - If you offer signed documents for verification, you save them as
<verification code>.pdf.
After going live
Section titled “After going live”- You monitor package usage on the service’s page (Usage tab); the portal sends warnings at 80%, 95% and 100%.
- The status of the services and planned maintenance are published on the System status page in the portal, and changes in the APIs on the Changes page.