Skip to content

[Bug]: Poor Feedback for Template Typos #1260

Open
@miqrogroove

Description

@miqrogroove

Steps to Reproduce

  1. Create a template file.
  2. Omit an EOL comma
  3. Attempt step certificate create --template ...

Your Environment

  • OS - Ubuntu
  • step CLI Version - 0.27.2

Expected Behavior

Informative feedback may be needed to understand why the certificate creation failed.

Actual Behavior

The step command prompts for the CA key password, then throws:

error unmarshaling certificate: invalid character '"' after object key:value pair

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @hslatman@miqrogroove

      Issue actions

        [Bug]: Poor Feedback for Template Typos · Issue #1260 · smallstep/cli