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

c8y devicemanagement certificates create: default to common name for the cert name #385

Open
reubenmiller opened this issue Jun 7, 2024 · 1 comment

Comments

@reubenmiller
Copy link
Owner

It should be possible to upload a trusted certificate without specifying the --name. The default --name should be the Common Name (CN) of the given certificate.

c8y devicemanagement certificates create --file ./tmp/tedge-certificate.pem
@reubenmiller
Copy link
Owner Author

This is slightly more difficult to implement as first thought. It requires a new mechanism to allow setting two fields from a single input, whilst still allowing the user to override the name with an explicit value.

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