Ubuntu에서 DO 템플릿을 기반으로 생성된 Discourse Docker 컨테이너를 실행 중이며, “Custom OAuth2”가 활성화되어 있습니다. 대부분은 잘 작동하지만, Let’s Encrypt 인증서 업데이트가 실패합니다.
문제를 추적해 보니 로그에서 업데이트 스크립트가 Cron에 의해 실행되고 있지만, Discourse가 챌린지 콜백을 OAuth2 IDP로 리다이렉트하기 때문에 챌린지가 거부되는 것을 확인할 수 있습니다.
다음은 (개인정보를 삭제한) 로그입니다:
[Wed Jan 28 12:40:32 PM UTC 2026] Renewing: ‘community.site’
[Wed Jan 28 12:40:32 PM UTC 2026] Renewing using Le_API=https://acme-v02.api.letsencrypt.org/directory
[Wed Jan 28 12:40:33 PM UTC 2026] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Wed Jan 28 12:40:33 PM UTC 2026] Single domain=‘community.site’
[Wed Jan 28 12:40:35 PM UTC 2026] Getting webroot for domain=‘community.site’
[Wed Jan 28 12:40:35 PM UTC 2026] Verifying: community.site
[Wed Jan 28 12:40:36 PM UTC 2026] Pending. The CA is processing your order, please wait. (1/30)
[Wed Jan 28 12:40:40 PM UTC 2026] community.site: Invalid status. Verification error details: 1.2.3.4: Invalid response from https://oauth.site/authorize?client_id=xxx
[Wed Jan 28 12:40:40 PM UTC 2026] Please check log file for more details: /shared/letsencrypt/acme.sh.log
[Wed Jan 28 12:40:40 PM UTC 2026] Error renewing community.site.
앱을 재빌드하면 다음 3개월 동안 문제가 해결되지만, 근본적으로 해결하고 싶습니다. 조언이 있을까요?
미리 감사드립니다.
