0
我想在我的蘋果機上的https://github.com/Neilpang/acme.sh上關於我的godaddy共享主機(啓用它的cPanel)設置一個免費的HTTPS。godaddy共享主機acme.sh
但是我堅持......
我迄今所做的:
- 成立,爲記錄的SSH連接到服務器
- 安裝了極致:
git clone https://github.com/Neilpang/acme.sh.git cd ./acme.sh ./acme.sh --install
3.Closed的連接,並重新建立(被要求指示用於獲取正確的路徑或東西)
4.Issues證書:
acme.sh --issue -d mydomain.com -w www --debug
我發現,www是目錄中,我的網站位於... 後大約10秒的命令說:「證書成功」
- 然後我輸了... 極致網站上說,「3。用以下命令安裝證書頒發到Apache/Nginx的等等。」 :
--apache-- acme.sh --installcert -d example.com \ --certpath /path/to/certfile/in/apache/cert.pem \ --keypath /path/to/keyfile/in/apache/key.pem \ --fullchainpath /path/to/fullchain/certfile/apache/fullchain.pem \ --reloadcmd "service apache2 restart"
or
-nginx- acme.sh --installcert -d example.com \ --keypath /path/to/keyfile/in/nginx/key.pem \ --fullchainpath /path/to/fullchain/nginx/cert.pem \ --reloadcmd "service nginx restart"
我猜GoDaddy的是使用Apache 是什麼這些/路徑/到/ certfile/in /目錄?它們對我的godaddy安裝有什麼用處?
確認,我通過cPanel手動複製了密鑰和證書,所有工作都正常。我想這也意味着我必須每90d這樣做才能避免證書出現?有沒有可能自動執行此操作? – HixField