如何同时使用http和https协议
首先看官方文档 用openssl命令生成自己的签名文档 openssl genrsa 1024 > host.key openssl req -new -x509 -nodes -sha1 -days 365 -key host.key > host.cert 生成签名时需回答类似这样的问题: Country Name (2 letter code) [XX]: State or Province Name (full name) []: Locality Name (eg, city) [Default City]: Organization Name (eg, company) [Default Company Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, your name or your server's hostname) []: Email Address []: 最终会得到两个文件:host.key和host.cert 然后在appli……