Applies to: SSL 憑證

SSL 憑證 說明

Apache:產生 CSR (憑證簽名申請)

想略過這些手動步驟嗎?我們的SSL解決方案會自動保護您的網站,並重新導向至HTTPS,並為您修復安全性問題。立即保護您的網站!

Follow these instructions to generate a certificate signing request (CSR) for your Apache 2.x Web server. When you have completed generating your CSR, cut/copy and paste it into the CSR field on the SSL certificate-request page.

  1. 登入伺服器終端機 (SSH)。
  2. At the prompt, type the following command:
    openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
    Note: Replace yourdomain with the domain name you're securing. For example, if your domain name is coolexample.com, enter coolexample.key and coolexample.csr.
  3. 輸入要求的資訊:
    • 一般名稱: 您要取得的全合格網域名稱或 URL。
      如果您要申請通用憑證,請在採取通用的一般名稱左邊加上星號 (*),例如 *.coolexample.com
    • 組織: 您公司的合法註冊名稱: 如果您以個人名義註冊,請輸入憑證申請人的姓名。
    • 組織單位:如果有的話,請輸入營業名義 (Doing Business As,DBA)。您不必說明組織單位也能產生 CSR。
    • 城市或所在地: 您的組織所在城市名稱已註冊/找到。 請寫出全名。
    • 州名或省名: 您的組織所在州名或省名已找到。 請寫出全名。
    • 國家: 您的組織合法註冊的兩個字母標準國際組織 (ISO) 格式國家碼

      請注意:如果您不想為此 SSL 輸入密碼,則可以將短語密碼一欄留白,不過,請您瞭解這樣做將有可能發生其他問題。

  4. 在文字編輯器內開啟 CSR,並複製全部文字內容。
  5. 將全部 CSR 貼至您帳戶中的 SSL 註冊表。