[精讚] [會員登入]

[SSL] Alwaysonssl免費的SSL憑證(一年)

免費的一年效期憑證,目前網站已經消失。

分享完整連結 //n.sfs.tw/m10418

分享連結 [SSL] Alwaysonssl免費的SSL憑證(一年)@精讚
(文章歡迎轉載,請尊重版權註明連結來源)
2018-03-20 11:48:22 By 張○○

有別於先前介紹過的[SSL] 免費的SSL憑證(三個月)。這次要介紹的是另一個效期比較長的免費憑證 Alwaysonssl,目前2022.11.2網站已經消失。。

一、註冊帳號

先要註冊一個帳號,註冊完並登入後,點擊上面 Free SSL/TLS

 

二、打入你的網域

Next Step >

 

三、產生主機憑證

到你的系統中執行此頁輸入框中的紅字指令,把結果貼到方框中

# openssl genrsa -out n.sfs.tw.key 2048
Generating RSA private key, 2048 bit long modulus
....................+++
......................................................................+++
e is 65537 (0x10001)
# openssl req -utf8 -sha256 -new -key n.sfs.tw.key -out n.sfs.tw.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:TW
State or Province Name (full name) []:Taiwan
Locality Name (eg, city) [Default City]:Taichung
Organization Name (eg, company) [Default Company Ltd]:n.sfs.tw
Organizational Unit Name (eg, section) []:section
Common Name (eg, your name or your server's hostname) []:n.sfs.tw
Email Address []:yourname@example.com

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:<留空不要填>
An optional company name []:

這樣會產生一個csr檔,把他開啟並把內容貼回到方框中

其中最下面的驗證方式我選擇檔案,因為我沒有DNS的存取權

 

四、在網頁建立一個檔

依照指示到你的網頁檔戶置一個文件檔fileauth.txt,裡面只有hash那一行。

 

五、完成並下載簽證檔

上面的fileauth.txt檔案驗證完畢後就能刪掉了

點擊右上角 My Certificates,會發現你的網頁已在清單中

點擊下載會得到一個 pem檔,設定進去你的apache中就可以。

 

 

相關連結

https://alwaysonssl.com/

END
你可能有興趣

[Rocky9] 安裝node.js 18, node.js 20

原本的nodejs16在使用 quasar dev時出現錯誤,得升級成18版以上

[SSL] Could not read certificate from server.cer 的錯誤排除

在轉換ssl憑證時,出現無法讀取的錯誤,可是怎麼看憑證都很正常,該怎麼解決?

[Linux] 如何能知道我是什麼時候安裝系統的?

linux想知道什麼時候裝系統的? 不必憑記憶。

地圖填色的網站

我們想為國家填色不需要小畫家,這個網站能幫助你

[Linux] 列出所有目錄及所占空間的方法

想知道目錄下的所有目錄所占的空間大小?

[Linux] grep 排除特定字串

使用 -v 參數可以讓grep排除特定字串的方法