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

Root authority certificate renewal #22

Open
wessberg opened this issue Jun 8, 2018 · 3 comments
Open

Root authority certificate renewal #22

wessberg opened this issue Jun 8, 2018 · 3 comments

Comments

@wessberg
Copy link

wessberg commented Jun 8, 2018

screen shot 2018-06-09 at 1 42 25 am

Hey there. The root certificate that devcert has generated and installed appears to have a lifetime of one month as seen in the image above. Am I missing something, or shouldn't there be a process for automatic renewal of the root certificate?

I'm on MacOS High Sierra and solved it by removing private-key.key and certificate.cert inside ~/Library/Application Support/devcert/certificate-authority, then removing all domains from the index.txt inside the same folder as well as all domains within ~/Library/Application Support/devcert/domains to force devcert into generating and signing new certificates.

@jeffwillette
Copy link

I just ran into this issue too. I thought I could just delete the certs and the ~/Library/Application Support/devcert dir and start again but I got errors after deleting that and trying to run devcert. Is there a recommended way to renew?

I seem to remember that the old version of devcert that installed to .config gave a reallllly long validity certificate, but this one is only one month. Why the change?

@dcflow
Copy link

dcflow commented Oct 30, 2018

On Windows check out this post to delete the devcert from the Trusted Root Certification Authorities then open ${User}\AppData\Local\devcert and delete everything inside certificate-authority.

@dmail
Copy link

dmail commented Aug 13, 2021

To me this issue is resolved by #24. There is no strategy about root certificate expiring after 7000 days but that's less important than when they expired after 1 month :)

alias-mac pushed a commit to alias-mac/devcert that referenced this issue Feb 8, 2024
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 4.21.2 to 5.6.2.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases)
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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

No branches or pull requests

4 participants