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

User messaging is incorrect for certstrap sign when using the --cert flag #219

Open
RyanJMcCarty opened this issue May 13, 2024 · 0 comments

Comments

@RyanJMcCarty
Copy link

The Issue

The --cert flag is used to make the certificate as the user defines, but the user messaging is pulling the named file from somewhere else.

Example

anser@computername:/data/tmp/test$ certstrap sign IntermediateGoose \
     --expires "1 year" \
     --CA Root \
     --csr csr/IntermediateGoose.csr \
     --cert out/LooseGoose.crt \
     --intermediate \
     --path-length "1"

Replies with:

Building intermediate
Created out/IntermediateGoose.crt from out/IntermediateGoose.csr signed by out/Root.key

The "Created out/IntermediateGoose.crt" is False. It is not created. Instead (and as instructed) the created cert is out/LooseGoose.crt.

It should read: Created out/LooseGoose.crt from out/IntermediateGoose.csr signed by out/Root.key, as that is what it actually created.

System Parms

OS: Ubuntu 22.04.4 LTS
go: go1.18.1 linux/amd64
certstrap: version 1.3.0

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