Configuring Custom Certificates for Remote URLs
PSPDFKit Document Engine 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.