+ إنشاء موضوع جديد
النتائج 1 إلى 2 من 2
  1. #1
    Status
    Offline
    الصورة الرمزية Rise Company
    Engineering and Technology
    تاريخ التسجيل
    Apr 2014
    الدولة
    Egypt
    المشاركات
    4,628
    معدل تقييم المستوى
    10

    افتراضي السي بانال WHM/CPanel حل مشكلة The SSL cert will expire in less than 30 days


    السي بانال 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
    ------------------------------------------------------------------------
    شركة رايز للهندسة و التكنولوجيا Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    رقم # 1 فى خدمات الشركات Business Services

    استضافة مواقع Web Hosting - عمل ايميل شركة Business Emails

    تصميم موقع شركة Web Design - تسويق الكترونى على جوجل Google Adwords

    www.rise.company | www.rise.company/emails

    ملحوظة : جميع خدماتنا مخصصة للشركات فقط وغير متاحة للافراد
    وليس لنا اى منتجات او صيانة نهائيا! يرجى الانتباه الى ذلك.



  2. #2
    Status
    Offline
    الصورة الرمزية Rise Company
    Engineering and Technology
    تاريخ التسجيل
    Apr 2014
    الدولة
    Egypt
    المشاركات
    4,628
    معدل تقييم المستوى
    10

    افتراضي رد: السي بانال WHM/CPanel حل مشكلة The SSL cert will expire in less than 30 days


    كود:
     /usr/local/cpanel/bin/checkallsslcerts
    ادخل هذا الامر وهتجد انه هيولد الشهادة من جديد او
    هيخبرك ان السيستم قبل الموعد بـ 3 ايام اذا وجد الشهادة القديمة موجوده هيبدل الشهادة باخرى جديدة

    ادخل هذا الامر فى حالة عمل Update للسي بانيل والذى يساعد فى توليد الشهادة ايضا

    كود:
    /usr/local/cpanel/scripts/upcp
    Keep in mind that certificates are not issued instantly, and processing times can sometimes take up to 24 hours.

    This can happen if your server's firewall is blocking access attempts from Comodo to validate the certificate, but validation is also sometimes delayed for a few hours during manual steps sometimes required by Comodo during the validation process. Anyone experiencing an issue with certificate issuance where it's been over 24 hours since the initial request for the certificate was made can open a support ticket using the link in my signature so we can check on the status of the order.
    -------------------------------------

    cPanel, L.L.C. offers valid cPanel & WHM license holders a free signed certificate for the services on your server’s hostname. This offer replaces the certificates for these services that meet any of the following conditions:

    • Maintains a weak signature algorithm.
    • Revoked.
    • Self-signed.
    • Invalid (For example, your server’s hostname must be valid and resolve in DNS).
    • Will expire soon, based on the following criteria:
      • cPanel-provided certificates that expire in less than 25 days.
      • Certificates issued by any other provider that expire in less than 3 days.


    When the existing certificate meets any of these conditions, the server will order a replacement certificate when the /usr/local/cpanel/scripts/upcp maintenance runs. The system will download and install that certificate when available. If the existing certificate expires before the replacement certificate is available, the system will install a self-signed certificate, and then replace it with the ordered certificate when available.
    --------------------------------------------------------


    يمكنك ايضا تفعيل Allow AutosSSL to replace
    Each AutoSSL provider may wait for a specific amount of time to replace an AutoSSL-provided certificate before it expires. For example:
    AutoSSL attempts to renew certificates that cPanel, Inc. provides when they expire within 15 days.
    AutoSSL attempts to renew certificates that Let's Encrypt provides when they expire within 29 days.
    Due to rate limits, AutoSSL prioritizes new certificates over the renewal of existing certificates.


    When a certificate expires, your server installs a self-signed certificate. If your server meets the requirements to obtain a free cPanel-signed certificate, the server automatically orders one the next time that the upcp maintenance script runs. When the signed certificate becomes available, the server downloads and installs it.
    ------------------------------------------------------------------------
    شركة رايز للهندسة و التكنولوجيا Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    رقم # 1 فى خدمات الشركات Business Services

    استضافة مواقع Web Hosting - عمل ايميل شركة Business Emails

    تصميم موقع شركة Web Design - تسويق الكترونى على جوجل Google Adwords

    www.rise.company | www.rise.company/emails

    ملحوظة : جميع خدماتنا مخصصة للشركات فقط وغير متاحة للافراد
    وليس لنا اى منتجات او صيانة نهائيا! يرجى الانتباه الى ذلك.



المواضيع المتشابهه

  1. السي بانال WHM/CPanel حل مشكلة usr/local/cpanel/bin/needs-restarting-cpanel
    بواسطة Rise Company في المنتدى رايز للاستضافة Rise Host
    مشاركات: 0
    آخر مشاركة: 11-12-2021, 04:49
  2. السي بانال WHM/CPanel حل مشكلة DNS Zone Editor Empty
    بواسطة Rise Company في المنتدى رايز للاستضافة Rise Host
    مشاركات: 0
    آخر مشاركة: 10-10-2021, 00:01
  3. السي بانال WHM/CPanel حل مشكلة check_unreliable_resolvers
    بواسطة Rise Company في المنتدى رايز للاستضافة Rise Host
    مشاركات: 0
    آخر مشاركة: 07-10-2021, 12:16
  4. السي بانال WHM/CPanel حل مشكلة Cannot Read License File
    بواسطة Rise Company في المنتدى رايز للاستضافة Rise Host
    مشاركات: 0
    آخر مشاركة: 04-10-2021, 03:35
  5. السي بانال WHM/CPanel حل مشكلة استهلاك الرام cpanel solr use high memory
    بواسطة Rise Company في المنتدى رايز للاستضافة Rise Host
    مشاركات: 0
    آخر مشاركة: 09-08-2021, 23:55

المفضلات

المفضلات

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •