Skip to content

confd/board: nanopi-r2s: add gencert keystore entry to factory config - #1586

Open
pjator wants to merge 2 commits into
kernelkit:mainfrom
pjator:gencert-factory-config
Open

confd/board: nanopi-r2s: add gencert keystore entry to factory config#1586
pjator wants to merge 2 commits into
kernelkit:mainfrom
pjator:gencert-factory-config

Conversation

@pjator

@pjator pjator commented Aug 14, 2026

Copy link
Copy Markdown

Since the HTTPS certificate moved into the ietf-keystore, the Web UI (nginx) is broken on fresh installs: no factory config ships the "gencert" entry, so confd never generates the self-signed certificate, /etc/ssl/certs/self-signed.crt is missing and nginx refuses to start. Add the entry (empty keys, generated on first boot) and reference it from infix-services:web.certificate.

Description

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • [ x] Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

@mattiaswal mattiaswal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great finding.

Thanks for your contribution!

pjator and others added 2 commits August 14, 2026 13:47
Since the HTTPS certificate moved into the ietf-keystore, the Web UI
(nginx) is broken on fresh installs: no factory config ships the
"gencert" entry, so confd never generates the self-signed certificate,
/etc/ssl/certs/self-signed.crt is missing and nginx refuses to start.
Add the entry (empty keys, generated on first boot) and reference it
from infix-services:web.certificate.

Co-authored-by: Jarvis (Hermes Agent) <jarvis@woxblom.com>
@wkz
wkz force-pushed the gencert-factory-config branch from 3863c97 to 26f24ed Compare August 14, 2026 14:28
@wkz
wkz requested a review from mattiaswal August 14, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants