zmirror-onekey
zmirror-onekey copied to clipboard
SSL脚本出錯, 原代碼中certbot/certbot-auto已經消失。。。
安裝到了證書步驟后開始出現/bin/sh: 1: /etc/certbot/certbot-auto: not found
的錯誤
檢查過A記錄正常。
單獨運行/etc/certbot/certbot-auto
也無法運行,看了一下https://github.com/certbot/certbot已經沒有certbot-auto
這個文件
sudo letsencrypt certonly --standalone -d "你的域名2"
這個方法要在開啓該域名的網站后才能驗證...
所以直接運行會報錯:
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: ~~xxx.xx~~ Type: connection Detail: Fetching hxtp://xxx.xx/.well-known/acme-challenge/~~xxxxxxx0x0x0x0x00xx0x0x0x00asx0as0x:~~ Error getting validation data
sudo python3 deploy.py --i-have-cert 运行这个就好了