Configure custom certificates for Document Engine

Information

PSPDFKit Server has been deprecated and replaced by Document Engine. To migrate to Document Engine and unlock advanced document processing capabilities, refer to our migration guide. Learn more about these enhancements on our blog.

PSPDFKit Server API enables adding documents from a URL. By default, these certificates are used for verifying a remote URL HTTPS server.

However, it’s possible to provide an alternative certificate chain for verification. To do so, mount the certificate file into your Docker container and configure it via DOWNLOADER_CERT_FILE_PATH:

pspdfkit:
  environment:
    DOWNLOADER_CERT_FILE_PATH: /custom-certificate/ca.pem
  volumes:
    - /path/to/my/ca.pem:/custom-certificate/ca.pem:ro

Ensure the certificates are in PEM format.