自建CA及签署证书-创新互联
1、自建CA
创新互联建站专注于济水街道企业网站建设,成都响应式网站建设公司,商城建设。济水街道网站建设公司,为济水街道等地区提供建站服务。全流程按需设计网站,专业设计,全程项目跟踪,创新互联建站专业和态度为您提供的服务# cd /etc/pki/CA/ # (umask 077; openssl genrsa -out private/cakey.pem 2048) # openssl req -new -x509 -key private/cakey.pem -out cacert.pem -days 3656 Country Name (2 letter code) [XX]:CN State or Province Name (full name) []:Yunnan Locality Name (eg, city) [Default City]:Kunming Organization Name (eg, company) [Default Company Ltd]:San Organizational Unit Name (eg, section) []:Students Common Name (eg, your name or your server's hostname) []:ca.san.com Email Address []:caadmin@san.com # ls -lh 总用量 20K -rw-r--r--. 1 root root 1.4K 3月 29 16:18 cacert.pem # touch serial index.txt serial # echo 01 > serial # ls cacert.pem certs crl index.txt newcerts private serial
2、证书签署
# (umask 077; openssl genrsa -out /root/mykey2.pri 2048) #生成一个私钥 # openssl req -new -key /root/mykey2.pri -out /root/myreq.csr #生成证书 Country Name (2 letter code) [XX]:CN State or Province Name (full name) []:Yunnan Locality Name (eg, city) [Default City]:Kunming Organization Name (eg, company) [Default Company Ltd]:San Organizational Unit Name (eg, section) []:Students Common Name (eg, your name or your server's hostname) []:www.san.com Email Address []:admin@san.com Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: # openssl ca -in myreq.csr -out mycert.crt -days 365签署证书 # ls mycert.crt #证书签署完成
另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网站栏目:自建CA及签署证书-创新互联
标题来源:http://ybzwz.com/article/dheohg.html