Exporting doesn't work and breaks the app

Hi @azazy,

Your logs indicate the error net::ERR_CERT_AUTHORITY_INVALID, which means the Penpot exporter is unable to validate the SSL certificate for your public URI during export. The exporter must access your frontend via the public URI, and if the SSL certificate is self-signed or invalid, you will see this error.

To resolve this:

  • Make sure your PENPOT_PUBLIC_URI environment variable is set to a domain with a valid SSL certificate trusted by the system. Self-signed certificates or certificates not signed by a recognized authority will cause this issue.

  • If you’re using self-signed certificates for testing, you need to switch to a certificate from a trusted certificate authority for production exports to work reliably.

You can check and update the PENPOT_PUBLIC_URI by editing your docker-compose.yaml file and restarting your containers. If you change the URI, ensure the certificate for that domain is valid and trusted.

For more context, review Penpot Configuration and Self-hosted: Reconfigure public URI.