nginx proxy manager에서 ssl 생성시 오류
어제까지 잘 쓰던 방법으로 동일하게 오늘 새 서버에 다시 설치했더니 아래와 같은 오류가 나네요;;
잘은 모르겠지만, certbot 에서 명령어 오류가 났다고 하는거 같은데...
duckdns.org에서는 제 공인 ip로 잘 업데이트 되어 있구요
certbot이 바뀐건지 npm이 바뀐건지 아무리 재설치를 해봐도 안되네요...ㅠ
혹시 아시는분 계실까요?
서버 os : proxmox 7.2
방식 : lxc
에러메세지 1 : These domains must be already configured to point to this installation
에러메세지 2 : Internal error
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-1" --agree-tos --email "abcd123@gmail.com" --domains "*.abcd.duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-1"
usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: --dns-duckdns-credentials /etc/letsencrypt/credentials/credentials-1
at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
요거 보면 --dns-duckdns-credentials 이거 용법이 틀렸다고 하네요.
Cloudflare는 아래 명령을 사용하시면 됩니다.
python3 -m pip install --no-cache-dir cffi certbot certbot-dns-cloudflare
cmt alert