WIN64 using OpenSSL to generate an SSL certificate

Source: Internet
Author: User
Tags openssl x509

WIN64 using OpenSSL to generate an SSL certificate

Download OpenSSL http://slproweb.com/products/Win32OpenSSL.html

Generate the server-side private key (key file):
OpenSSL genrsa-des3-out Root.key 1024
Enter your password 123456

Request to establish a certificate application file ROOT.CSR:
OpenSSL req-new-key root.key-out root.csr-config openssl.cfg

Create a 10-year root certificate root.crt
OpenSSL x509-req-days 3650-sha1-extensions v3_ca-signkey root.key-in root.csr-out root.crt

To establish a server certificate key:
OpenSSL genrsa-des3-out Server.key 2048

Create the server certificate request file, the password is still 123456:
OpenSSL req-new-key server.key-out server.csr-config openssl.cfg

Create a 10-year server certificate SERVER.CRT with a password of 123456:
OpenSSL x509-req-days 3650-md5-extensions v3_req-ca root.crt-cakey root.key-cacreateserial-in server.csr-out Serv Er.crt

WIN64 using OpenSSL to generate an SSL certificate

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.