genx509keys.sh

来自「ipsec vpn」· Shell 代码 · 共 21 行

SH
21
字号
#!/bin/sh# HACK up the config file firstsource ../../umlsetup.shsed -e "s,@BUILDTOP@,$BUILDTOP," nic/etc/openssl/openssl.cnf.in >nic/etc/openssl/openssl.cnffor host in east west northdo    if [ ! -r all/etc/ipsec.d/certs/${host}.uml.freeswan.org.cert ]    then	    openssl ca -config nic/etc/openssl/openssl.cnf -in $host/etc/ipsec.d/private/$host.req -days 730 -out all/etc/ipsec.d/certs/${host}.uml.freeswan.org.cert -notext -keyfile nic/etc/CA/private/cakey.pem    fidone# now update the CRL list.openssl ca -config nic/etc/openssl/openssl.cnf -gencrl -out all/etc/ipsec.d/crls/nic.pem

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?