[GH-ISSUE #482] Firefox 107 - SEC_ERROR_BAD_SIGNATURE #302

Closed
opened 2026-02-25 22:33:03 +03:00 by kerem · 2 comments
Owner

Originally created by @luminosity-design on GitHub (Nov 17, 2022).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/482

Environment

  • Operating system (including version): Windows 10 Home 22H Build 19045.2251
  • mkcert version (from mkcert -version): v1.4.4
  • Server (where the certificate is loaded): XAMPP 8.6.1 localhost
  • Client (e.g. browser, CLI tool, or script): Firefox 107

What went wrong

Prior to Firefox 107, self sign certs generated by mkcert worked fine on my localhost installation.

After Firefox updated to 107, I get the following error:

Secure Connection Failed

An error occurred during a connection to localhost. Peer’s certificate has an invalid signature.

Error code: SEC_ERROR_BAD_SIGNATURE

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

Not sure if the updated Firefox changed something, but if anyone has any ideas, please let me know.

Originally created by @luminosity-design on GitHub (Nov 17, 2022). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/482 ## Environment * Operating system (including version): Windows 10 Home 22H Build 19045.2251 * mkcert version (from `mkcert -version`): v1.4.4 * Server (where the certificate is loaded): XAMPP 8.6.1 localhost * Client (e.g. browser, CLI tool, or script): Firefox 107 ## What went wrong Prior to Firefox 107, self sign certs generated by mkcert worked fine on my localhost installation. After Firefox updated to 107, I get the following error: > Secure Connection Failed > An error occurred during a connection to localhost. Peer’s certificate has an invalid signature. > Error code: SEC_ERROR_BAD_SIGNATURE The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem. Not sure if the updated Firefox changed something, but if anyone has any ideas, please let me know.
kerem closed this issue 2026-02-25 22:33:03 +03:00
Author
Owner

@spacexnasa commented on GitHub (Dec 1, 2022):

same problem +1

<!-- gh-comment-id:1333548376 --> @spacexnasa commented on GitHub (Dec 1, 2022): same problem +1
Author
Owner

@luminosity-design commented on GitHub (Mar 16, 2023):

I had a chance to revisit this after having a weird issue with Firefox 111 and needed to clear all the application data. Anyway, it was still broken so I regenerated the cert using "mkcert localhost" and updated xammp's copy. Restarted apache and everything is working again. Closing as I don't think it's a mkcert issue.

<!-- gh-comment-id:1471353601 --> @luminosity-design commented on GitHub (Mar 16, 2023): I had a chance to revisit this after having a weird issue with Firefox 111 and needed to clear all the application data. Anyway, it was still broken so I regenerated the cert using "mkcert localhost" and updated xammp's copy. Restarted apache and everything is working again. Closing as I don't think it's a mkcert issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#302
No description provided.