Skip to content

Commit

Permalink
Issue 288, keeping pem for backward compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtkanaskie committed Sep 19, 2023
1 parent 7b639c8 commit 6a316b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/keyaliases/crtka.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ var CreateCmd = &cobra.Command{
ignoreExpiry,
ignoreNewLine,
selfFile)
case "pem":
fallthrough
case "keycertfile":
_, err = keyaliases.CreateOrUpdateKeyCert(keystoreName,
name,
Expand Down Expand Up @@ -93,7 +95,7 @@ func init() {
CreateCmd.Flags().StringVarP(&name, "alias", "s",
"", "Name of the key alias")
CreateCmd.Flags().StringVarP(&format, "format", "f",
"", "Format of the certificate; selfsignedcert, keycertfile or pkcs12 (file extn is .pfx)")
"", "Format of the certificate; selfsignedcert, keycertfile (a.k.a pem), or pkcs12 (file extn is .pfx)")
CreateCmd.Flags().StringVarP(&password, "password", "p",
"", "PKCS12 password")
CreateCmd.Flags().BoolVarP(&ignoreExpiry, "exp", "x",
Expand Down

0 comments on commit 6a316b3

Please sign in to comment.