السي بانال WHM/CPanel حل مشكلة The SSL cert will expire in less than 30 days
SSL certificate is not renewed automatically - cPanel SSL Certificate will Expire in 30 Days
How to reset/renew cPanel/WHM Self-signed Certificate?
free cPanel-signed hostname certificate
السي بانال WHM/CPANEL حل مشكلة شهادة SSL و LET'S ENCRYPT A RATE LIMIT PREVENTS DCV
المشكلة :
تاتى ايميلات بان هناك مشكلة فى توليد شهادة ssl تلقائيا وهيتبقى مدة للمحاولة القادمة
لتوليد شهادة جديدة بعد 15 يوم او قبل الانتهاء ب 3 ايام او ان انتهت المدة ددون توليد شهادة جديدة.
You might be receiving an email with subject like “The
SSL certificate for “[service like exim, ftp, dovcot, cpanel]” on “[Vpshostname]” will expire in less than 30 days.” These all are self signed certificates of services cpanel, exim, dovecot, ftp etc which are required to be reset every year.
او
90 day cPanel issued SSL certificates are renewed three days before expiration instead of 25 days
When /usr/local/cpanel/bin/checkallsslcerts runs it thinks cPanel provided hostname certificates are third-party SSL certificates, which causes the SSL to be renewed three days prior to expiration.
-------------------------------------------------------
حل المشكلة توليد شهادة من السيرفر Self-signed Certificate
-------------------------------------------------------
هذه شهادة self حماية ضعيفة مؤقت وليست شهادة حقيقية وهيخرج له تنبيه من المتصفح
على بعض خدمات whm وخاصة ميزة cpanel login الموجود عند الدخول من داخل whmcs
هتجد تنبيه وهتفتح cpanel العلامء وهناك شهادة عليها تعجب انها self
ولكن الهدف منها هو حذف الشهادة القديمة وتوليد شهادة جديدة !
- Login to your WHM control panel.
- Go to Home > Service Configuration > Manage Service SSL Certificates.This will display a list of certificates used by various services on your server along with their expiry dates.
- If any of the certificates are expiring within 30 days, click on the Reset Certificate link in the Action column.
- Once a new certificate is generated and installed, the Certificate Expirationcolumn will display the new expiry date.
هيظهر تنبيه Confirm SSL Certificate Reset وافق ثم هتجد Expiration تجدد لمدة سنة
ثم هيطلب ريستارت ... قم بالموافقه فقط
Restart cpsrvdIn order to complete your SSL Certificate installation cpsrvd will need to be restarted.Restart cpsrvd now?
ومبروك تم تجديد ssl
فى حالة الرغبة فى التراجع عن Self-signed؟
اضغط على browse certificates وهتجد الشهادة القديمة موجودة
علم علامة صح مثل الى فى الصورة على الجميع ثم هتجد الشهادة القديمة اخترها
والشرح هنا فى حالة انها expired او انك لا تريد الانتظار !! خطوة reset هامة لتوليد شهادة جديدة !!
توليد شهادة حقيقية free cPanel-signed hostname certificate :
من المفترض من تلقاء نفسها تولد شهادة جديدة فى اوقات محددة ولكن قد يصادف هذا الوقت
تعطل لها بسبب وجود ضغط على موقع توليد الشهادات وهيترتب على ذلك الانتظار كثير !
this certificate will still update once the certificate has reached 3 days before expiry. This notification is a false-positive, however, if you still would like to replace your certificate immediately, you can complete the following steps: First, reset the hostname certificate to a self-signed one:
بعد عمل reset للشهادات من داخل whm او من خلال هذا الامر
كود:
for service in ftp exim dovecot cpanel ; do whmapi1 --output=jsonpretty reset_service_ssl_certificate service=$service ;done
قم بتنفيذ هذا الامر لنقل / حذف الشهادات القديمة لتوليد اخري جديدة
اذا لما يعطى لك نتيجة بالنقل فامر reset عمل ذلك لا حاجة لعمل شىء
Next, move aside the old CSR (if it exists):
كود:
mv /var/cpanel/hostname_cert_csrs{,.cpbkp} -v
هنا ادخل امر فى terminal لتوليد شهادة جديدة
Finally, run checkallsslcerts to order a new certificate:
كود:
/usr/local/cpanel/bin/checkallsslcerts
النتيجة :
اذا لم يعمل واعطى خطا هنا هناك لود على مولد الشهادات وجرب بعد ساعات وهيعمل 100 %
سبب بلوك الفايروول CSF / Hulk انك لم تضع اي بيهات مولد SSL
فى csf يجب ان تضع الايبيهات فى كلا allow + Ignore
https://support.cpanel.net/hc/en-us/...originate-from
شاهد ايضا
السي بانال WHM/CPanel حل مشكلة ssl/certificate/whm-license/90-day
السي بانال WHM/CPANEL حل مشكلة شهادة SSL و LET'S ENCRYPT A RATE LIMIT PREVENTS DCV
المرجع:
https://docs.cpanel.net/whm/scripts/...lcerts-script/
https://support.cpanel.net/hc/en-us/...ore-expiration
https://support.cpanel.net/hc/en-us/...ods-is-invalid
https://docs.cpanel.net/whm/service-...-certificates/
https://manage.accuwebhosting.com/kn...rtificate.html
https://www.web24.com.au/tutorials/c...ire-in-30-days
https://iserversupport.com/blog/ssl-...30-days-fixed/
https://forums.cpanel.net/threads/ss...ically.649833/
https://cwcshd.freshdesk.com/support...-than-30-days-
https://areatype.com/blog/updating-s...ertificate-whm
المفضلات