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

📄 root.sh

📁 一款开源的soap库
💻 SH
字号:
# Create the self-signed root CA and root's certificate: root.pem cacert.pemecho "* Create the self-signed root CA and root's certificate: root.pem cacert.pem"echo "* Distribute the cacert.pem to clients to authenticate your server"echo "* Enter a (new) secret pass phrase when requested"echo "* Enter it again when prompted"echo "* You need the pass phrase later to sign the client and server key files"echo "* Enter your company name as the Common Name (e.g. genivia.com) when requested"echo "* The root CA will expire after three years (1095 days)"openssl req -newkey rsa:1024 -sha1 -keyout rootkey.pem -out rootreq.pemopenssl x509 -req -in rootreq.pem -sha1 -extfile openssl.cnf -extensions v3_ca -signkey rootkey.pem -out cacert.pem -days 1095cat cacert.pem rootkey.pem > root.pemopenssl x509 -subject -issuer -dates -noout -in root.pem

⌨️ 快捷键说明

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