حل مشكلة SSL Error عند مزامنة Caldav/Carddav - Calendar & Contacts
cpanel caldav ssl issue
The system could not create the calendar error
Accessing Caldav via mail.$domain.tld:2080 incorrectly serves the hostname SSL



المشكلة :

عند الدخول على برنامج caldav لعمل مزامنه مع calendar الخاص بـ cpanel
يظهر خطا فى الاتصال بسبب ssl عند ادخال الايميل و الباسورد
وعند فتح رابط calendar يظهر بالفعل ان الاتصال غير امن
رغم ان شهادة ssl مثبته على الدومين وكذلك mail.company.com

مثلا : هنا كان الرابط :
https://mail.createcompanyemail.com:...765D9/calendar

عندما فتح ظهر Your connection is not private

سبب المشكلة :

This occurs due to the cpanel-ccs service not having an SSL for the mail subdomain present. The issue has now been solved and implemented in our product as can be seen in our changelog here:

هذه المشكلة فى cpanel نفسها خلل فى الاصدار مذكور هنا
https://docs.cpanel.net/changelogs/c...57201#9-2-a-75


حل المشكلة :

لا تستخدم الرابط subdomain لكن استخدم الدومين الرئيسي
اى افتح الرابط بهذا الشكل
https://createcompanyemail.com:2080/calendars
ولا تفتحه بهذا الشكل
https://mail.createcompanyemail.com:2080/calendars
لكى تتفادى مشكلة ssl وبالطبع هذا حل مؤقت وسريع

الحل الدائم ويعمل 100 %

Import TLS data for CCS.

Import TLS data for CCS.


كود:
 /usr/local/cpanel/bin/servers_queue import_tls_data_for_ccs
كود:
 /usr/local/cpanel/bin/servers_queue queue import_tls_data_for_ccs
Restart the cpanel_css service.


كود:
 /scripts/restartsrv_cpanel_ccs
المرجع:
https://support.cpanel.net/hc/en-us/...e-hostname-SSL
https://support.cpanel.net/hc/en-us/...ing-CCS-plugin