⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resign_cert

📁 This a good VPN source
💻
字号:
#!/bin/sh## (c) 2003 Xelerance Corporation# Ken Bantoft <ken@xelerance.com># resign all certificates for which we have requests# copy the certificates to the right baseconfig dirs.source ../../umlsetup.shOPENSWANHOSTS=${OPENSWANHOSTS-$FREESWANHOSTS}# first, move the private keys to the right placefor host in $OPENSWANHOSTSdo	req=$host.uml.freeswan.org/$host.uml.freeswan.org.req	cert=$host.uml.freeswan.org/$host.uml.freeswan.org.cert	if [ -f $req ]	then	    echo "Password is 'openswan'"	    # Sign the cert	    if [ -f $cert ]	    then		echo "revoking key from $host"		openssl ca -revoke $cert -config ./openssl.cnf             fi	    echo "Signing key from $host"	    openssl ca -in $req -out $cert.new -config ./openssl.cnf 	    if [ -s $cert.new ]	    then		mv $cert.new $cert	    fi	fidone

⌨️ 快捷键说明

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