Support installing a root cert via URL with step certificate install
Los mantenedores suelen responder en 1 día
@hslatman ya está trabajando en esto.
Desde el 21/5/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
Add support for step certificate install to pull a root from a URL and check its fingerprint.
Example:
step certificate install https://mycool-stepca.example.biz/roots.pem --fingerprint 48:62:CD:B0:B1:E8:A8:45:45:97:62:E2:2F:CB:E8:1C:B5:C0:BC:85
Also consider adding a --insecure flag to the URL support to bypass checking the fingerprint.
Why is this needed?
step certificate inspect https://smallstep.com works on URLs and adding this feature will allow operators to trust their PKI in an automated way. For example with a systemd unit:
[Unit]
Description=Trust MyCool root
After=network-online.target
Wants=network-online.target
ConditionPathExists=!/var/lib/pki-trust-mycool-root.stamp
ConditionPathExists=/usr/local/bin/step
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart="step certificate install https://mycool-stepca.example.biz/roots.pem --fingerprint 48:62:CD:B0:B1:E8:A8:45:45:97:62:E2:2F:CB:E8:1C:B5:C0:BC:85"
ExecStartPost=/bin/touch /var/lib/pki-trust-mycool-root.stamp
[Install]
WantedBy=default.target
- Lenguaje dominante
- Go
- Estrellas
- 4.3k
- Forks
- 320
- Merge medio
- 2 d 3 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de smallstep/cli
-
[Bug]: `Match exec "step ssh check-host %h"` causes SSH connections through ProxyJump to hangAbiertobug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
enhancement needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
Los mantenedores suelen responder en 1 día
-
enhancement needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
smallstep/cli#1713 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
build s390x and riscv64 binariesAbiertoenhancement needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
smallstep/cli#1710 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline editsPosiblemente ocupada @vulragrag-star la tomó hace 52 días. Abiertobug needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
smallstep/cli#1705 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de smallstep/cli
Issues similares
-
[Bug] Custom tool truncation leaves unused stream copies openPosiblemente ocupada @OUAO-FRANK la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[v3] KeyBindingManager calls (Add/Remove) are not converted into a case-insensitive accelerator.KeyAbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
crmne/hyprmoncfg#114 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
runtime: usleep sleeps nanoseconds instead of microseconds on linux/mips and linux/mips64Posiblemente ocupada @BRobertson7 la tomó hoy. Abiertocompiler/runtime
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
golang/go#82913 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100