npm 인증서 문제
deskmini x300 2200G 헤놀 918+ 6 네이티브 사용하다
시놀포토 때문에 7.1 네이티브 설치 시도했습니다
로더 바꿔가면서 구글링하고 무슨 짓을 해도 부팅 후 마지막 단에서
키보드 led까지 꺼지고 무방응으로 PC가 뻗어 버려서 포기하고
proxmox 올리고 7.1로 마이그레이션까지 성공했습니다
문제는 여기서 proxmox(pve) 데비안에 도커올리고 포테이너,npm 생성했습니다
공유기쪽에 npm포트 81,80,443 포트는 다 열어 줬고 주소:80 포트로 접속해도 nginx index화면까지 표출이 되구요
근데 duckdns 와일드카드 인증서 발급이 안됩니다
누가 좀 제발 알려주세요 ㅠ
아래 에러 메세지가 표출이 됩니다
Internal Error
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-10" --agree-tos --email "example@example.com" --domains "*.example.duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-10" An unexpected error occurred: AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator' Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-dfxzvndb/log or re-run Certbot with -v for more details. 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)
아래는 컨테이너 로그이구요
[12/2/2022] [3:47:44 AM] [Nginx ] › ℹ info Reloading Nginx[12/2/2022] [3:47:44 AM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates via DuckDNS for Cert #10: *.example.duckdns.org[12/2/2022] [3:47:44 AM] [SSL ] › ℹ info Command: mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo 'dns_duckdns_token=example' > '/etc/letsencrypt/credentials/credentials-10' && chmod 600 '/etc/letsencrypt/credentials/credentials-10' && pip install certbot-dns-duckdns~=0.9 && certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-10" --agree-tos --email "example@example.com" --domains "*.example.duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-10"[12/2/2022] [3:47:46 AM] [Nginx ] › ℹ info Reloading Nginx[12/2/2022] [3:47:46 AM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-10" --agree-tos --email "example@example.com" --domains "*.example.duckdns.org" --authenticator dns-duckdns --dns-duckdns-credentials "/etc/letsencrypt/credentials/credentials-10"An unexpected error occurred:AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-dfxzvndb/log or re-run Certbot with -v for more details.
npm UI 상에서 발급 시도하신 것인가요?
넵 ui 에서 token넣고 발급 시도 했어요
도메인은 어떤도메인으로 하신건가요? 에러로그 도메인을보면 *.example.duckdns.org라고 나오는데
/tmp/certbot-log-dfxzvndb/log 로그도 봐보셔야할것같습니다
example은 도메인 노출때문에 제가 수정을 한거에요
얼마 전까지 갱신 잘되고 잘썼는데 proxmox 헤놀 올리면서 다시 발급 받을려는데
이게 안되네요 ㅠㅠ
구글링 하다가 --force 강제 옵션 때문이라는걸 본거 같은데
let's encrypt에서 뭔가가 이뤄졌나봅니다??
방금 혹시나 싶어서 오라클클라우드에서 인증서 갱신 해보니 오류 뿜네요...
AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'
certbot 버그인것 같습니다. 다운그레이드? 로 해결했다는 글이 있네요
https://community.letsencrypt.org/t/unexpected-error-no-attribute-iauthenticator/188462/3
아니면 도커 이미지를 1.32.0-ls163 이후 버전으로 다시 땡겨오시면 될것 같습니다.
이게 도커를 proxmox에 설치하신거면 80번, 443이 사용중이라 표시될수있습니다. 가능하시면 lxc컨테이너를 만드셔서 사용하시는게 좋습니다.
cmt alert