?? dist_certs
字號:
#!/bin/sh# copy the certificates to the right baseconfig dirs.source ../../umlsetup.sh# first, move the private keys to the right placefor host in $OPENSWANHOSTSdo if [ -f $host.uml.freeswan.org/$host.uml.freeswan.org.key ] then mkdir -p ../baseconfigs/$host/etc/ipsec.d/private cp $host.uml.freeswan.org/$host.uml.freeswan.org.key ../baseconfigs/$host/etc/ipsec.d/private/$host.pem fidonemkdir -p ../baseconfigs/all/etc/ipsec.d/certs# now, copy all certificates to "all" directory.for host in $OPENSWANHOSTSdo if [ -f $host.uml.freeswan.org/$host.uml.freeswan.org.key ] then cp $host.uml.freeswan.org/$host.uml.freeswan.org.cert ../baseconfigs/all/etc/ipsec.d/certs fidone# copy the caCert to the right placecp cacert.pem ../baseconfigs/all/etc/ipsec.d/cacerts/caCert.pem# copy the crl to the right placecp crls/nic.crl ../baseconfigs/all/etc/ipsec.d/crls/nic.crl
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -