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

Fixes expiration date issues on MacOS #45

Merged
merged 2 commits into from
Nov 21, 2019

Conversation

Js-Brecht
Copy link
Contributor

@Js-Brecht Js-Brecht commented Nov 8, 2019

Due to security reasons, MacOS Catalina will now reject certificates with an expiration date longer than 825 days. That's over 2 years, so for a development certificate, it seems like a reasonable timeframe.

IMO, any work to extend it past that date should be focused more on renewal than extending the expiration. Until that kind of work is done, people can also just wipe out their certificates and build new ones. It's not too hard, and only having to do it every two years isn't really that bad.

On the other hand, keeping the expiration at 7000 days makes the generated certificates completely useless for Mac users.

Fixes #39,

Conflicts with #41. -> This change will need to happen to merge both

Copy link
Collaborator

@zetlen zetlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and good catch. For a future PR we could perhaps adjust this value with platform detection.

@zetlen zetlen merged commit 57bcc16 into davewasmer:master Nov 21, 2019
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 this pull request may close these issues.

Certificate Length 825 days Mac Catalina
2 participants