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

📄 testgen

📁 一个用于点对点传输加密的工具包源码
💻
字号:
#!/bin/shT=testcertKEY=512CA=../certs/testca.pem/bin/rm -f $T.1 $T.2 $T.keyPATH=../apps:$PATH;export PATHecho "generating certificate request"echo "string to make the random number generator think it has entropy" >> ./.rndif ../apps/openssl no-rsa; then  req_new='-newkey dsa:../apps/dsa512.pem'else  req_new='-new'  echo "There should be a 2 sequences of .'s and some +'s."  echo "There should not be more that at most 80 per line"fiecho "This could take some time."../apps/openssl req -config test.cnf $req_new -out testreq.pemif [ $? != 0 ]; thenecho problems creating requestexit 1fi../apps/openssl req -config test.cnf -verify -in testreq.pem -nooutif [ $? != 0 ]; thenecho signature on req is wrongexit 1fiexit 0

⌨️ 快捷键说明

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