I hereby claim:
- I am sddj on github.
- I am aludianq (https://keybase.io/aludianq) on keybase.
- I have a public key ASD_15TjJ8AL7PdF0Me_JPn6i7N4mtJlHZfiVS_zLsH3HAo
To claim this, I am signing this object:
#!/bin/zsh | |
if [ $(id -u) -ne 0 ]; then | |
echo 1>&2 'You must run strongswan-config.sh as root.' | |
exit 1 | |
fi | |
# Only configure when charon is starting by checking for presence of the pid file | |
if [ -f /var/run/charon.pid ]; then | |
sleep 10 | |
l="/var/log/strongswan-config.log" | |
c=8 |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.strongswan.config</string> | |
<key>ServiceDescription</key> | |
<string>Configure the StrongSwan charon service after it starts</string> | |
<key>ProgramArguments</key> | |
<array> |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.strongswan.start</string> | |
<key>ServiceDescription</key> | |
<string>Start the StrongSwan charon service</string> | |
<key>ProgramArguments</key> | |
<array> |
#!/bin/zsh | |
if [ $(id -u) -ne 0 ]; then | |
echo 1>&2 'You must run strongswan-start.sh as root.' | |
exit 1 | |
fi | |
l="/var/log/strongswan.log" | |
c=8 | |
while [ "${i}" -ge 0 ]; do | |
if [ -f "${l}.${i}" ]; then | |
mv "${l}.${i}" "${l}.$((i+1))" |
#!/bin/bash | |
# | |
# ./setup.sh es1 | |
# | |
cat >$1.cnf <<EOF | |
[ req ] | |
default_bits = 2048 | |
default_keyfile = $1.key | |
encrypt_key = no | |
default_md = sha256 |
#!/bin/zsh | |
cat >ca.cnf <<'EOF' | |
[ ca ] | |
default_ca = my_ca | |
[ my_ca ] | |
serial = ./serial.txt | |
database = ./index.txt | |
new_certs_dir = ./newcerts | |
certificate = ./ca.crt |
#!/bin/zsh | |
set -e | |
brew install autoconf automake libtool pkg-config | |
brew install bison | |
brew install openssl@1.1 | |
[ -d strongswan ] || git clone https://github.com/strongswan/strongswan.git strongswan | |
cd strongswan | |
git checkout 5.9.2 | |
[ -f Makefile ] && make maintainer-clean |
I hereby claim:
To claim this, I am signing this object: