security/acme-client: add automation to upload certificate to JetKVM via SSH
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 20/100
Direzione di ricerca
Esamina prima il PR #5621, poi confronta le automazioni esistenti SFTP e Remote Command via SSH e l’integrazione OPNsense\AcmeClient\SSHKeys. Il lavoro è completato quando il certificato e la chiave JetKVM possono essere caricati tramite una semplice sessione SSH exec, il comando opzionale post-caricamento funziona e sono coperti i requisiti documentati relativi ad archiviazione, riavvio e HTTPS Mode.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
The ACME Client plugin (security/acme-client) already has automations to
deploy a renewed certificate to a remote host via SFTP or a generic SSH
command ("Upload certificate via SFTP", "Remote Command via SSH"), but
neither fits JetKVM KVM-over-IP devices well:
JetKVM's minimal userspace doesn't ship scp/an SFTP server, and there's
no existing automation tailored to where/how JetKVM expects a "Custom" TLS
certificate to be deployed.
Today, applying a fresh ACME certificate to a JetKVM device requires a
human to manually copy the cert/key over and restart the device every
renewal cycle.
Describe the solution you'd like
A new "Run Command" automation, "Upload certificate to JetKVM (SSH)", that:
- Reuses the plugin's existing SSH key management
(OPNsense\AcmeClient\SSHKeys) and identity/known_hostsstore, shared
with the existing SFTP/SSH automations. - Opens a plain SSH exec session and writes the cert/key via a small POSIX
shell script piped over stdin (noscp/SFTP server dependency on the
device side). - Defaults to JetKVM's confirmed "Custom" TLS storage path/filenames
(/userdata/jetkvm/tls/user-defined.crtand.key), with an optional
post-upload command (defaulting toreboot, since JetKVM has no
hot-reload for a new "Custom" certificate) so the whole thing can run
unattended as part of normal ACME renewal.
Describe alternatives you've considered
Reusing the existing SFTP automation was considered first, but JetKVM's
minimal userspace isn't guaranteed to include an SFTP server, so a plain
SSH-exec approach was used instead.
Additional context
I've already implemented this and opened a pull request:
#5621
That PR includes real-hardware validation notes (confirmed storage
path/filenames, confirmed reboot-to-apply behavior, confirmed the device's
"HTTPS Mode" must already be set to "Custom" before uploads take effect)
and an AI-tools disclosure per the contributing guidelines.
- Lingua principale
- PHP
- Stelle
- 1.2k
- Fork
- 905
- Merge medio
- 4g 16h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opnsense/plugins
-
security/openvpn-legacy: read-only user can stop a running VPNForse già presa @besendorf l’ha presa oggi. Apertaincomplete
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
opnsense/plugins#5887 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
security/tailscale: add description to restart serviceForse già presa @drpsyko101 l’ha presa 4 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
security/acme-client: missing accounts directory causes DNS-01 validation failureForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertasupport
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
opnsense/plugins#5770 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
security/tor: Advanced mode / help toggles are brokenForse già presa @txr13 l’ha presa 46 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di opnsense/plugins
Issue simili
-
Author mapping step: "create new user" and "assign to existing user" fields have no spacing between themForse già presa @umeshnevase l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
WordPress/wordpress-importer#275 ·
-
jira-created
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
-
No Code Attached Yet
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
joomla/joomla-cms#48786 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Icinga/icingaweb2-module-director#3188 ·
I maintainer di solito rispondono entro 4 giorni
-
[Performance issue] Expired signup-campaign `gettext` filter runs on every translated string sitewide (SettingsModule.php)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
mollie/WooCommerce#1327 ·