Implement Persistent, Auto-Renewing Local CA PKI#183
Open
tyronechrisharris wants to merge 112 commits intoopensensorhub:masterfrom
Open
Implement Persistent, Auto-Renewing Local CA PKI#183tyronechrisharris wants to merge 112 commits intoopensensorhub:masterfrom
tyronechrisharris wants to merge 112 commits intoopensensorhub:masterfrom
Conversation
…range indexed column; fix system serialization/deserialization
…range indexed column; fix system serialization/deserialization
…ne records serialization
…zation Update command status serialization for osh-core changes and add inli…
…ATURE and command; fix blocking connection while executing a DROP request; improve the use of batch
… Join instead at the end using WHERE
… query to select corresponding query
This was referenced Mar 22, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR transitions the system from an ephemeral Root CA (where the private key was destroyed after leaf generation) to a Persistent Local CA architecture.
Key changes include:
EphemeralCAUtility.javais nowLocalCAUtility.java.osh-keystore.p12under the aliasroot-ca. It is encrypted using the auto-generated password in.app_secrets.SensorHubWrappernow callsLocalCAUtility.checkAndRenewCertificates()on every boot. If thejettyleaf certificate is within 30 days of expiration, it is automatically regenerated and signed by the persistent Root CA.Verification:
LocalCAUtilityTest.javato verify initial generation and lifespan logic../gradlew :security-utils:test.launch.shandlaunch.batconfirm removal of obsolete generation steps.Fixes #63
PR created automatically by Jules for task 8825928146862250262 started by @tyronechrisharris
🔄 Auto-Distributed via Sync
Original Flat Repo PR: tyronechrisharris/oscar-flat#64
🔗 Related Updates in this Sync: