업데이트 후, Discourse가 Let’s Encrypt 인증서가 아니라 제가 오래전에 사용했던 매우 오래된 SSL 인증서를 사용하고 있는 것으로 보입니다.
오래전에 StartCom을 사용하다가 이미 Let’s Encrypt로 전환한 것으로 기억합니다.
제 app.yml 파일에는 다음과 같이 설정되어 있습니다:
templates:
- "templates/cron.template.yml"
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/sshd.template.yml"
- "templates/web.template.yml"
- "templates/web.ssl.template.yml"
- "templates/web.letsencrypt.ssl.template.yml"
어떤 이유로인지 기존 인증서 사용으로 되돌아간 상태입니다.
이 문제를 해결하는 방법에 대한 조언이 있을까요?
정확한 로그를 확인하기 위해 다시 빌드(rebuild)를 수행했는데, 다음과 같이 표시됩니다:
I, [2025-10-06T06:29:29.144007 #1] INFO -- : File > /etc/runit/1.d/install-ssl chmod: +x chown:
I, [2025-10-06T06:29:29.144328 #1] INFO -- : Replacing # after ssl with if [ -n "$LETSENCRYPT_ACCOUNT_EMAIL" ]; then
if [[ ! "$LETSENCRYPT_ACCOUNT_EMAIL" =~ ([^@]+)@([^\.]+) ]]; then
echo "LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address"
exit 1
fi
/usr/local/bin/configure-ssl
exec /usr/local/bin/configure-letsencrypt
else
echo "LETSENCRYPT_ACCOUNT_EMAIL ENV not set. Skipping Let's Encrypt setup."
fi
# after ssl in /etc/runit/1.d/install-ssl
I, [2025-10-06T06:29:29.149199 #1] INFO -- : File > /usr/local/bin/configure-ssl chmod: +x chown:
I, [2025-10-06T06:29:29.149595 #1] INFO -- : > curl https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.6/acme.sh > /opt/acme.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 215k 100 215k 0 0 989k 0 --:--:-- --:--:-- --:--:-- 993k
I, [2025-10-06T06:29:29.388552 #1] INFO -- :
I, [2025-10-06T06:29:29.388677 #1] INFO -- : > chmod +x /opt/acme.sh
I, [2025-10-06T06:29:29.390922 #1] INFO -- :
I, [2025-10-06T06:29:29.395637 #1] INFO -- : File > /usr/local/bin/configure-letsencrypt chmod: +x chown:
I, [2025-10-06T06:29:29.399975 #1] INFO -- : File > /usr/local/bin/letsencrypt chmod: +x chown:
Let’s Encrypt 관련 처리는 수행하고 있는 것으로 보이지만, 어떤 이유로인지 다른 인증서를 사용하게 됩니다.
제 인증서는 다음과 같은 경로에 존재했거나 존재하는 것으로 보입니다:
/var/discourse/shared/standalone/ssl/forum.keyboardmaestro.com.cer
/var/discourse/shared/standalone/ssl/forum.keyboardmaestro.com_ecc.key
/var/discourse/shared/standalone/ssl/forum.keyboardmaestro.com_ecc.cer
/var/discourse/shared/standalone/ssl/forum.keyboardmaestro.com.key
하지만 다음과 같은 경로의 인증서를 가져오는 것 같습니다:
/shared/ssl/ssl.crt
그런가요?
