Allow `step certificate p12` to specify a friendly name/alias

Aberta
#1,183 2 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@dopey já está trabalhando nisso.

Desde 4/6/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

enhancement needs triage

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

When you create a PKCS12 file from a cert/key pair, the new P12 file has the item with the alias '1'. It would be helpful to be able to specify a different alias, such as:

step certificate p12 foo.p12 foo.crt foo.key --alias foo.com

Why is this needed?

When managing keystores, some applications expect the cert/key to be referenced by the FQDN. Similarly, if you are using keytool to import the pkcs12 file into a JKS, it will try to replicate the items based on the alias. This can be overridden on the commandline, but it would be more convenient if the pkcs12 file could be created with the alias in the first place - this also removes another step from any postdeploy process.

Linguagem predominante
Go
Estrelas
4.3k
Forks
320
Merge médio
2d 3h
PRs com merge (30d)
11

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de smallstep/cli

Todas as issues de smallstep/cli

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.