Next.js Discord

Discord Forum

Fast-reloading isn't working properly with a self-signed certificat.

Unanswered
Safran posted this in #help-forum
Open in Discord
Hello readers,

For the development purpose we decided to use a domain.local URL instead of localhost URL.

So we have https://domain.local instead of http://localhost:3000.

Everything is working like a charm, except the fast-reloading.

The fast/hot-reload is not working on https://domain.local but it's working properly on http://localhost:3000.

We are not using --experimental-https flag, but we are exporting our own certificate with NODE_EXTRA_CA_CERTS="/path/to/custom/certificate.crt" to prevent [Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE] .

versions:
"next": "^14.1.1",
"react": "^18.2.0",


Do you have any idea?
Thank you for reading!

2 Replies

Nobody ?

Maybe some NextJS team members