Skip to content

Comments

feat: auto-cleanup old/expired certificates and sync to strongSwan#167

Open
allen12921 wants to merge 1 commit intostrongswan:masterfrom
allen12921:feat/auto-cleanup-old-certificates
Open

feat: auto-cleanup old/expired certificates and sync to strongSwan#167
allen12921 wants to merge 1 commit intostrongswan:masterfrom
allen12921:feat/auto-cleanup-old-certificates

Conversation

@allen12921
Copy link

  • Auto-remove old certificates when uploading new ones with same public key
  • Cleanup expired certificates on strongSwan startup and sync via vici

This ensures strongMan database and strongSwan stay in sync when certificates are renewed or expired.

Changes:

  • services.py: Remove duplicate certs with same public key on upload
  • configloader.py: Cleanup expired certs and sync to strongSwan on startup

@cla-bot
Copy link

cla-bot bot commented Feb 12, 2026

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: newyoung.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

- Auto-remove old certificates when uploading new ones with same public key
- Cleanup expired certificates on strongSwan startup and sync via vici

This ensures strongMan database and strongSwan stay in sync when certificates
are renewed or expired.

Changes:
- services.py: Remove duplicate certs with same public key on upload
- configloader.py: Cleanup expired certs and sync to strongSwan on startup
@allen12921 allen12921 force-pushed the feat/auto-cleanup-old-certificates branch from eca0a57 to 2198321 Compare February 12, 2026 03:31
@cla-bot
Copy link

cla-bot bot commented Feb 12, 2026

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @allen12921 on file. In order for us to review and merge your code, please contact the project maintainers via info@strongswan.org to get yourself added.

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.

1 participant