Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StrongSwan deploy hook: swanctl support #6094

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

sergiustheblack
Copy link
Contributor

acme.sh should support modern StrongSwan's swanctl tool.
The issue is that both legacy ipsec tool and swanctl can co-exist on the machine. So deploy hook maintains both tools independently and sync certificates into each config dir if it exists.

Notable changes:

  • ipsec tool selector is moved to search in $PATH which potentially may break wierd installations.
  • swanctl doesn't have an analogue to ipsec --confdir option, so I have to search for typical conf dir location (tested on Debian 12, Arch Linux, Centos Stream, FreeBSD 14)

@sergiustheblack sergiustheblack force-pushed the feature/swanctl branch 2 times, most recently from 6e7deab to c9fb85d Compare November 12, 2024 10:29
@Neilpang
Copy link
Member

fix the format errors please

@sergiustheblack sergiustheblack force-pushed the feature/swanctl branch 3 times, most recently from e758030 to 3521674 Compare November 13, 2024 00:59
@sergiustheblack
Copy link
Contributor Author

fix the format errors please

fixed, thanks.

@Neilpang Neilpang merged commit 30e89c3 into acmesh-official:dev Nov 13, 2024
2 checks passed
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.

2 participants