openssl req -new -x509 -days 3650 -key ca_private.key -out ca.crt Country Name (2 letter code) [AU]:CN State or Province Name (full name) [Some-State]: BeiJing Locality Name (eg, city) []:BeiJing Organization Name (eg, company) [Internet Widgits Pty Ltd]: liuweihua.com Organizational Unit Name (eg, section) []:Inc Common Name (eg, YOUR name) []:127.0.0.1 Email Address []:weihua1986@gmail.com
生成服务器的P10(csr)证书请求,PEM格式
1 2 3 4 5 6 7 8 9 10 11 12
openssl req -new -key server_private.key -out server.csr Country Name (2 letter code) [AU]:CN State or Province Name (full name) [Some-State]:BeiJing Locality Name (eg, city) []:BeiJing Organization Name (eg, company) [Internet Widgits Pty Ltd]: blog.liuweihua.com Organizational Unit Name (eg, section) []:Inc Common Name (eg, YOUR name) []:127.0.0.1 Email Address []:weihua1986@gmail.com Please enter the following ‘extra’ attributes to be sent with your certificate request A challenge password []: An optional company name []: