Create a OpenSSL self-signed certificate under window

Source: Internet
Author: User

: openssl:https://www.openssl.org/source/

The compiled openssl:http://slproweb.com/products/win32openssl.html

This article was downloaded in 64-bit: Win64openssl_light-1_1_0b.exe

Install OpenSSL to E Drive, path: E:\openssl

Open Cmd.exe, CD to E:\openssl\bin below:

First, generate the server-side private key (key file):
OpenSSL genrsa-des3-out Server.key 1024

Enter password: In some of the input password is: 123456

Request to establish a certificate application file ROOT.CSR:

Enter country, province, city, company information, certificate send email address and certificate password (server side):

Create a 10-year root certificate root.crt

The password entered is: 123456

To establish a server certificate key:

Password: 123456

Create the server certificate request file, the password is still 123456:

Enter country, province, city, company information, certificate send email address and certificate password:

Established a two-year server certificate SERVER.CRT with a password of 123456:

To see if the build was successful:

Path to E:\OpenSSL-Win64\bin directory, view:

See the connection you have just established, indicating success!

Create a OpenSSL self-signed certificate under window

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.