openssl生成自签证书

yum install openssl -y

openssl genrsa > cert.key
在这里插入图片描述
openssl req -new -x509 -key cert.key -subj “/CN=common” >cert.pem

ls
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/anqixiang/article/details/108812764