-
Notifications
You must be signed in to change notification settings - Fork 75
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
removeDomain doesn't remove entry from index.txt resulting in "TXT_DB error number 2" when trying to generate certificates for same host in the future #18
Comments
Good catch! I'm thinking the proper way to do this is probably to actually revoke the cert, which is not what we do now. |
@davewasmer What is the correct way to do it ? I'm building a ui around this module and want to fix this issue. Ideally I want to do three things to happen automatically :
|
Is there a fix for this pending at all? |
I know this is an old issue, but is there any reason not to setup the ca with
This would allow issuing multiple certs for the same domain and be a bit simpler then adding revocation in. As a, hopefully temporary, fix in our project we modify the generated |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike North <[email protected]>
Hello there. First, this is a super awesome project!
I'm on mac OS High Sierra.
I've found that when
removeDomain
is called, only the certificates will be removed. However, since the domain name isn't removed from theindex.txt
file inside~/Library/Application Support/devcert/certificate-authority
, OpenSSL gives the following error whencertificateFor
is invoked again in the future with the same hostname:Removing the entry from the
index.txt
file resolves the issueThe text was updated successfully, but these errors were encountered: