Linux generates HTTPS key and CSR files

Source: Internet
Author: User
Tags openssl rsa

Linux generates HTTPS key and CSR files:


# OpenSSL Genrsa-des3-out Bugzilla.key 1024 (prompt to set password)


Remove password (do not want to go not to do):

# OpenSSL rsa-in bugzilla.key-out Bugzilla.key


Generate the. CSR file:

# OpenSSL Req-new-key bugzilla.key-out BUGZILLA.CSR

In the middle, except hostname, other casual writing.



The. CSR file is then given to the person responsible for the HTTPS certificate, and the. crt file is generated


Key is the private key, the CSR file requests the file, the CRT is the public key



This article is from the "Linux" blog, so be sure to keep this source http://yangzhiming.blog.51cto.com/4849999/1981275

Linux generates HTTPS key and CSR files

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.