windows openssl

https://slproweb.com/products/Win32OpenSSL.htmll
選擇Win64 OpenSSL Light
加到環境Path,C:\Program Files\OpenSSL-Win64\bin
這樣一般終端機視窗 。shell 也能使用,要用管理者權限開啟

mkdir a
cd a

openssl.exe genrsa -out .key 2048 (檔案要保留)
for linux——–>openssl req -new -out .csr -key .key (我是在windows 用linux 指令,也可以)
for windows—->openssl.exe req -new -key .key -out .csr -config openssl.cfg

會要你輸入下面這些
1.國家名稱
2.州或省別
3.公司行號:hs
4.組織單位:IT
5.一般名稱:主機 + 網域名稱
在產生 CSR 時,請勿輸入您的電子郵件地址 (email address)通關詞組 (A challenge password) 或選用的公司名稱 (An option company name) , 此三項直接 Enter 帶過即可

本篇發表於 未分類 並標籤為 。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>