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

exception thrown during rpkic extract_root_certificate #814

Closed
sraustein opened this issue Apr 26, 2016 · 3 comments
Closed

exception thrown during rpkic extract_root_certificate #814

sraustein opened this issue Apr 26, 2016 · 3 comments
Assignees
Labels

Comments

@sraustein
Copy link
Contributor

Did a fresh install of the rpki-ca package and ran the following:

{{{

rpkic initialize

rpkic configure_root

rpkic configure_publication_client ...

rpkic configure_respository ...

rpkic extract_root_certificate

}}}

The last command threw and exception (I was using the VirtualBox console so I only have a screenshot, which I can upload if need be).
The exception occurs in the base64 encoder called at line 300 in rpki/x509.py because kw[name] is None.

The subsequent time I ran the command a few minutes later it worked.

Suspect that the rpkid timer had not gone off and completely set everything up?

Trac ticket #808 component rpkid priority minor, owner sra, created by melkins on 2016-04-26T18:22:23Z, last modified 2016-04-26T22:58:05Z

@sraustein
Copy link
Contributor Author

Yeah, the underlying Zookeeper method isn't handling missing certificate properly.

Should return (None, None) and let the UI apologize to the user.

Trac comment by sra on 2016-04-26T22:42:35Z

@sraustein
Copy link
Contributor Author

In [changeset:"6393" 6393]:
{{{
#!CommitTicketReference repository="" revision="6393"
Handle non-existant root certificate correctly in rpkic extract_root_* commands. Fixes #808.
}}}

Trac comment by sra on 2016-04-26T22:58:05Z

@sraustein
Copy link
Contributor Author

Closed with resolution fixed

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

No branches or pull requests

1 participant