Hướng dẫn cài ssl server win

Chủ nhật - 08/10/2017 21:12
Để cài đặt https hay ssl cho website chạy hệ điều hành winserver bạn làm theo hướng dẫn bên dưới đây nhé
Hướng dẫn cài ssl server win

IIS 8 and IIS 8.5 SSL Certificate Installation

  1. Obtain private key and origin certificate pair

    Create a certificate signing request in IIS and export it. Note that the instructions are for wildcard certificates but that you can specify any set of hostnames on your zone. Instead of exporting as .pfx, you should export as .pem.
  2. Log into the Cloudflare dashboard and create an Origin Certificate

    In the Crypto app, scroll down to the Origin Certificates card and click 'Create Certificate'. Select 'I have my own private key and CSR', add the hostnames you'd like to be covered by the certificate, choose a validity period, and click 'Next'. 
  3. Save the Origin certificate to the desktop of your origin server
  4. Open Internet Information Services (IIS) Manager and under Connections, select your server's hostname

    In the Windows Start screen, click Administrative Tools, then Internet Information Services (IIS) Manager. Alternatively, you can search for Internet Information Services (IIS) Manager.
  5. Click on the servername, then in the IIS section of the center menu, double click the Server Certificates icon

  6. In the Actions menu, click Complete Certificate Request to open the Complete Certificate Request wizard

    In the Complete Certificate Request wizard on the Specify Certificate Authority Response page under File name containing the certification authority’s response, click  to browse to the .cer certificate file that was copied to the desktop, select the file, and then click Open.
  7. In the Friendly name box, enter a friendly name for the certificate

    The friendly name is not part of the certificate. Instead, it is used to identify the certificate. Choose to place the new certificate in the Web Hosting certificate store.

  8. To finish installing the SSL Certificate to the server, click OK
  9. Assign or Bind the certificate to your website

    In Internet Information Services (IIS) Manager under Connections, expand your server’s name, expand Sites, and then select the site that you want to secure with your SSL Certificate.
  10. In the Actions menu under Edit Site, click Bindings

  11. In the Site Binding window, click Add

  12. In the Add Site Bindings window, enter the following information and then, click OK
    Type In the dropdown list, select https
    IP Address In the dropdown list, select all unassigned
    Port Enter 443
    SSL Certificate In the dropdown list, select the friendly name of the certificate you just installed

  13. [OPTIONAL] Configure your SSL certificate to use Server Name Indication (SNI)

    Check the box that states Require Server Name Indication. This is required if you have multiple sites using SSL bound to the same IP address. 

  14. Your Origin CA SSL certificate is now installed, and your website is configured to accept secure connections

Tổng số điểm của bài viết là: 0 trong 0 đánh giá

Click để đánh giá bài viết

  Ý kiến bạn đọc

Liên kết đối tác
Bạn đã không sử dụng Site, Bấm vào đây để duy trì trạng thái đăng nhập. Thời gian chờ: 60 giây