Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome on macOS Catalina shows ERR_CERT_REVOKED for certs with validity over 825 days #4

Closed
RandomByte opened this issue Dec 10, 2019 · 1 comment · Fixed by #5
Closed

Comments

@RandomByte
Copy link

Chrome on macOS Catalina will display an ERR_CERT_REVOKED error for locally signed certificates with a validity exceeding 825 days that are issued after July 2019.

Also see:

Since this module generates certificates with a validity of 7000 days, Chrome will reject them with the error ERR_CERT_REVOKED.

I tested changing the days parameter to -days 825 here:
https://github.com/guybedford/devcert/blob/master/src/openssl.ts#L157

And the resulting certificate is accepted as valid by Chrome.

➡️ Would it be possible to change the default or alternatively add a parameter to specify the days the certificate should be valid?

If it would speed up things I can also create a PR for the accepted solution.

@guybedford
Copy link
Owner

guybedford commented Dec 10, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants