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

Don't reorder DNs from CSRs. #168

Open
plotnick opened this issue Jun 1, 2023 · 0 comments
Open

Don't reorder DNs from CSRs. #168

plotnick opened this issue Jun 1, 2023 · 0 comments

Comments

@plotnick
Copy link

plotnick commented Jun 1, 2023

The DN reordering done by OKS is due to the default behavior of openssl ca. This command will reorder the fields from a CSR to match the order that they're defined in the config (specifically the policy section) unless it is told to do otherwise (-preserveDN on the command line, or preserve=yes in the config). I'm not sure how much pain and suffering this is causing on the permslip side and we can be more flexible in oks for sure. That said, the damage may already have been done since we've generated the certs 😬

Originally posted by @flihp in https://github.com/oxidecomputer/permission-slip/issues/81#issuecomment-1568723770

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

1 participant