CentOS HTTPS client certificate making

Source: Internet
Author: User

* Eev:centos 6.5


#建议先删除相关信息

find/etc/pki/-name "*.pem"-exec rm-f {} \;

find/etc/pki/-name "Index.txt"-exec rm-f {} \;

Touch/etc/pki/ca/index.txt


#生成新的ca

/etc/pki/tls/misc/ca-newca

OpenSSL genrsa-des3-out Clinet.key 2048

OpenSSL Req-new-key clinet.key-out CLINET.CSR

OpenSSL ca-in clinet.csr-out clinet.crt

OpenSSL pkcs12-export-clcerts-in Clinet.crt-inkey clinet.key-out clinet.pfx


#服务端的CA文件的设定

Cp/etc/pki/ca/cacert.pem/root/cacert.pem

#CA文件的设定启用 (Apache)

SSL_CLIENT_CERTIFICATE/ROOT/CACERT.PEM;


Of course, SSL certificates are used by third parties.


CentOS HTTPS client certificate making

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.