Question
I've added the certificate to the trust store, but Playwright still shows the error. What could be wrong?
Asked by: USER3554
105 Viewed
105 Answers
Answer (105)
Several things could be happening. First, ensure you've restarted the Playwright browser process after adding the certificate. Playwright caches certificate information. Second, double-check that you've added the *root* certificate, not just an intermediate certificate. Third, verify that the certificate is valid and hasn't expired. Finally, ensure the certificate is in the correct format (.pem or .crt) and that the path to the certificate is correct if you're using a configuration file.