Skip to content

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

Merged
wkz merged 2 commits into
kernelkit:mainfrom
pjator:gencert-factory-config
Aug 16, 2026
Merged

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

Conversation

@pjator

@pjator pjator commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

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!

@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
pjator and others added 2 commits August 16, 2026 07:00
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 26f24ed to 8472714 Compare August 16, 2026 07:01
@wkz

wkz commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Fixed up the other boards' factory configs while we were at it.

@pjator: Since this is a small change, and we discussed this AFK, I feel comfortable vouching for this. However, if you want to make more contributions, you need to be able to sign your commits with a GPG key that is associated with your GitHub account. We have this policy in place as an extra layer of assurance of the origin of all contributions.

@wkz
wkz merged commit 99b0a4e into kernelkit:main Aug 16, 2026
@pjator

pjator commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

@wkz Thanks for the clarification, all commits are now GPG-signed and show as Verified

@pjator
pjator deleted the gencert-factory-config branch August 16, 2026 07:59
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