GoDaddy nginx HTTPS configuration

Source: Internet
Author: User
Tags openssl rsa

One

Generate secret Key key, run:

$ openssl genrsa -des3 -out server.key 2048
    • 1

There will be two times required to enter the password, enter the same one can

Enter password

Then you get a Server.key file.
Later use of this file (via the command or API provided by OpenSSL) may often require a password to be entered, and if you want to remove the password, you can use the following command:

$ openssl rsa -in server.key -out server.key
    • 1
    • 2

Create the request file for the server certificate SERVER.CSR, run:

openssl req -new -key server.key -out server.csr
    • 1
    • 2

Where Country name Cn,common name fill in the hostname can also not fill, if not fill out the browser will be considered unsafe. The rest can be filled out.

Two

Stick CSR into GoDaddy

Wait for GoDaddy audit about 10 minutes or so.

Download Nginx file 8989513850ed8f3d.crt put in

ssl_certificate/root/lee/keys/server.crt; #配置证书位置

ssl_certificate_key/root/Lee/keys/server.key; #配置秘钥位置

GoDaddy nginx HTTPS configuration

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.