# 업그레이드 후 이메일 작동 안 함: 인증서 검증 실패

**URL:** https://meta.discourse.org/t/emails-not-working-after-upgrade-certificate-verify-failed/226978
**Category:** Self-hosting
**Created:** [5월 13, 2022, 8:02오후 UTC](https://meta.discourse.org/t/emails-not-working-after-upgrade-certificate-verify-failed/226978 "2022-05-13T20:02:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pratyushmittal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pratyushmittal/32/104227_2.png) [@pratyushmittal](https://meta.discourse.org/u/pratyushmittal)
#### Post date: [5월 13, 2022, 8:02오후 UTC](https://meta.discourse.org/t/emails-not-working-after-upgrade-certificate-verify-failed/226978/1 "2022-05-13T20:02:59Z")

</div>

우리는 이메일 전송을 위해 자체 SMTP 서버를 사용합니다. 지난 몇 년간 Discourse와 함께 잘 작동해 왔습니다.

최근 Discourse를 2.8 (베타)에서 2.9 (베타)로 업데이트했습니다. 이제 이메일을 보내지 못하고 있습니다.

`./discourse-doctor` 출력 결과:

```plaintext
==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [REDACTED]: REDACTED
Sending mail to REDACTED. . .
Testing sending to REDACTED using 13.235.xxx.xxx:25, username:REDACTED with login auth.
======================================== ERROR ========================================
                                    UNEXPECTED ERROR

SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate)

====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!

Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
=======================================================================================

```

이전에 `certificate verify failed (EE certificate key too weak)`라는 다른 오류가 발생했습니다. 이메일 서버의 OpenSSL 인증서를 재생성했습니다. 이제 이 오류가 발생하고 있습니다.

이 서버와 동일한 설정은 지난 2년 동안 잘 작동해 왔습니다. v2.9 (베타)의 어떤 변경 사항이 SMTP SSL 연결을 더 엄격하게 만든 것 같습니다.

이 문제를 어떻게 해결할 수 있을까요? 어떤 단서라도 큰 도움이 될 것입니다.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [5월 13, 2022, 8:51오후 UTC](https://meta.discourse.org/t/emails-not-working-after-upgrade-certificate-verify-failed/226978/2 "2022-05-13T20:51:49Z")

</div>

이 최근 주제에서 유사한 오류에 대한 논의와 조언이 있으며 도움이 될 수 있습니다 🤞

> [@이메일 호스트명 인증서 불일치로 인한 Sidekiq 큐 과부하 및 심각한 사이트 불안정](https://meta.discourse.org/t/email-hostname-certificate-mismatch-causing-sidekiq-queue-overload-severe-site-instability/225778/8?u=jammydodger):
>
> When I connect to that host and test the STARTTLS I get a certificate that does not match the hostname: Certificate chain 0 s:/C=US/ST=California/L=Sunnyvale/O=Proofpoint, Inc./OU=ESP/CN=\*.pphosted.com i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=Thawte RSA CA 2018 1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=Thawte RSA CA 2018 i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert Global Root CA and it did not expire yet: notBefore=Jun 12 00:00:00 2020 GMT notAfter=Sep 14 12:00:…
