准备 yum install mod_ssl openssl 生成一个自签名证书 cd /etc/pki/CA 1.生成2048位的加密私钥 openssl genrsa -out server.key 2048 2.生成证书签名请求 openssl req -new -key server.key -out server.csr You are about to be asked to enter information that will be incorporated into your…