mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-09 07:13:36 -05:00
Feature Request: addin SSHkeys to Store and Script #286
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pvyswiss on GitHub (Apr 15, 2025).
Adding SSH Keys for GIT
Since SSL with GIT can lead to issues, best thing for automation is using SSHkeys as an Option:
Pros: More secure, no SSL issues.
Cons: Requires SSH key management by the user/org
Directory: /etc/komodo/ssh
Example Command: ssh-keygen -t ed25519 -f /etc/komodo/ssh/id_ed25519
Adding the Option Script as an own Resource Management to Sync, deploy and execute as Feature, which can be deployed independent from Stacks/Deployments:
Directory /etc/komodo/scripts
Example Script, for anyone who use Alpine Linux as Dockerhost, to auto-deploy Periphery-Agent as Docker, creates all necessary folder structre before and generates an OPENSSL based self signed SSL Certificae for 1 Year, and symlink it for Periphery Default Config for SSL enabled:
To use this script:
periphery.shchmod +x periphery.shsudo ./periphery.shorsu -c './periphery.sh'If you want to upgrade it once later or add it as a cronjob just to renew the komodo/etc/ssl:
Key Features:
/etc/komodo/sslexists>/dev/null)Usage:
This assumes:
/etc/komodo/ssldirectory already existsThe certificates will be valid for 365 days with 2048-bit RSA encryption.
@mbecker20 commented on GitHub (Aug 28, 2025):
Periphery now defaults to serving HTTPS and generated its own self signed certs if they aren't there