strongswan: use correct directory for CA's
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
parent
0c16840e26
commit
cac7608211
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=strongswan
|
||||
PKG_VERSION:=5.9.2
|
||||
PKG_RELEASE:=9
|
||||
PKG_RELEASE:=10
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
|
||||
|
|
|
@ -72,7 +72,7 @@ genca()
|
|||
|
||||
pki --self --ca --lifetime "$CADAYS" --in "$SWANCTL_DIR/private/$SHORT_DOMAIN.key" --type "$keytype" \
|
||||
--dn "$ROOTDN" --outform pem > "$SWANCTL_DIR/x509ca/$SHORT_DOMAIN.crt"
|
||||
chmod 0444 "$SWANCTL_DIR/cacerts/$SHORT_DOMAIN.crt"
|
||||
chmod 0444 "$SWANCTL_DIR/x509ca/$SHORT_DOMAIN.crt"
|
||||
}
|
||||
|
||||
genclientkey()
|
||||
|
|
Loading…
Reference in New Issue