#821·serve

Updated certificate is not being used

Author: NonononokiCreated Jun 6, 2025Updated Oct 24, 2025

Description

My setup: I have an Apache server on my server for routing the traffic of the service. There is one static certificate file that gets updated every 3 months from LetsEncrypt in pfx format.

How to reproduce:

  • Start serve yarn serve dist --single -l $PORT --ssl-cert $CERT_PATH --ssl-pass "ssl-key" -c "../serve.json"
  • Update/renew the certificate
  • Try to access the page

What I expected: Page loads normally

The actual result: Error durin SSL Handshake Image

The workaround: Simply force close the serve process and restart it using the exact same command (see above)

Library version

14.2.4

Node version

v18.19.0