BuyPass 是挪威的一家 CA 機構,提供數字證書、安全認證產品等多種服務。目前 BuyPass 提供了類似 Let’s Encrypt 的基于 ACME/Certbot 的證書自動簽發服務 – BuyPass GO Free SSL,免費!
與 Let’s Encrypt 主要的不同點在于 BuyPass 證書每次簽發有效期是?180 天( Let’s Encrypt 是 90 天)。另外 BuyPass 不支持簽發泛域名證書,但支持多域名。雖然現在使用Let’s Encrypt的很多也很方便,但是多一個選擇也是很好的。

利用 ACME 申請
下載 ACME
注冊賬號
申請證書
可以選擇手動 DNS 驗證:
[email protected]:~# ./acme.sh -d vircloud.net -d www.vircloud.net --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please
也可以選擇自動 DNS 驗證(以 CloudFlare 為例):
[email protected]:~# export CF_Key="****" #填寫 CloudFlare 的 Global API Key [email protected]:~# export CF_Email="[email protected]" #填寫 CloudFlare 注冊郵箱 [email protected]:~# ./acme.sh --server https://api.buypass.com/acme/directory --issue -d vircloud.net -d www.vircloud.net --dns dns_cf
或者 HTML 驗證:
利用 Certbot 申請
下載 Certbot
[email protected]:~# wget https://dl.eff.org/certbot-auto [email protected]:~# chmod a+x certbot-auto
注冊賬號
申請證書
可以選擇 DNS 驗證:
也可以選擇網頁 HTML 驗證:
然后根據提示,到相應目錄就可以找到證書。
自動續簽
如果申請證書時選擇了 HTML 驗證,那么就可以實現自動續簽。
手動執行續簽:
任務計劃自動續簽:
[email protected]:~# crontab -e ...... 30 */12 * * * /opt/certbot/certbot-auto renew -n -q >> /var/log/certbot-auto-renewal.log
這里是指每過 12h 30m 執行一次,可以自己定義,不懂得可以使用?crontab 執行時間計算工具。




















