Exchange: Cấu hình POP3 và IMAP khi sử dụng chứng thư số Wildcard
Mặc định, bạn không thể cấu hình SSL cho POP3 và IMAP trên Exchange Server với một chứng thư số SSL Wildcard. Thay vào đó, bạn cần dùng lệnh Set-POPSettings và Set-IMAPSettings để thực hiện việc cấu hình.
1. Mở Exchange Shell trên server CAS (nếu có nhiều server CAS thì lần lượt thực hiện trên tất cả server).
2. Chạy các lệnh sau để cấu hình cho POP3:
Set-POPSettings -X509CertificateName mail.company.com -Server CAS1
Set-POPSettings –ExternalConnectionSettings "mail.company.com:995:ssl" -Server CAS1
3. Chạy lệnh sau để cấu hình cho IMAP:
Set-IMAPSettings -X509CertificateName mail.company.com -Server CAS1
Set-IMAPSettings –ExternalConnectionSettings "mail.company.com:993:ssl" -Server CAS1
4. Bạn cần publish cấu hình của Receive connector trên máy chủ Hub Transport. Chạy lệnh sau để lấy danh sách Receive connector:
Get-ReceiveConnector
Giả sử bạn muốn cấu hình cho Receive connector trên port 587, chạy lệnh sau:
Set-ReceiveConnector –Identity "EXCH1Client EXCH1" –AdvertiseClientSettings $True
5. Restart lại IIS bằng lệnh:
iisreset
6. Lần lượt thực hiện trên các CAS server còn lại.
Bạn có thể dùng lệnh sau trên OpenSSL để test cấu hình POP3 và IMAP:
openssl s_client -connect mail.tenmien.com:993 -tls1
openssl s_client -connect mail.tenmien.com:995 -tls1
Để cấu hình cho Outlook, bạn tham khảo hình sau:
Trong trường hợp bạn thiết lập "Auto" cho phần Encrypted connection không thành công, bạn có thể thử chuyển qua SSL hoặc TLS.
Xử lý sự cố khác
Lỗi NET::ERR_CERT_AUTHORITY_INVALID trên điện thoại Android cũ: thiếu chứng chỉ ký chéo (cross-sign)
Lỗi Microsoft IIS: Chứng chỉ không được tin cậy rộng rãi do thiếu đường dẫn chứng chỉ (Certificate Path) hợp lệ
Cần làm gì khi một Root CA hết hạn hoặc cập nhật
Yubikey: Ký mã ClickOnce bằng chứng chỉ được lưu trữ trên Yubikey
Gemalto Safenet eToken 5110CC (940): Làm thế nào để mở khóa (đặt lại mật khẩu)
Lỗi: Verify return code: 21 (unable to verify the first certificate)
Zimbra: Lỗi chdir(/root) failed: Permission denied
Signtool: Lỗi No certificates were found that met all the given criteria
Cài đặt SSL thành công nhưng Google hoặc Facebook báo lỗi
Windows: Bản vá bổ sung Trusted Root Certificates
Windows: Tự động cập nhật Chứng chỉ gốc - Trusted Root Certificates
Chrome lỗi ERR_CERT_AUTHORITY_INVALID trên Windows 7
Zimbra: Xử lý lỗi Root CA Certificate Expiration
Cpanel: Root CA Certificate Expiration
Comodo/Sectigo: Lỗi Root certificate has expired
Hướng dẫn cập nhật Root / Intermediate CA trên Linux Server
Comodo/Sectigo: Lỗi Root certificate has expired
Lỗi: Windows does not have enough information to verify this certificate
Windows Server 2012: Hướng dẫn cập nhật máy chủ hỗ trợ TLS 1.2
Windows Server 2008: Hướng dẫn cập nhật máy chủ hỗ trợ TLS 1.2