كلاود فلير CloudFlare توقف AutoSSL عند التوليد التلقائي للشهادة
An error occurred the last time AutoSSL - AutoSSL not working with CloudFlare
How to Repair the DNS DCV Error in cPanel - How to Use AutoSSL with Cloudflare
How to solve problem renewing SSL certificate when using cPanel AutoSSL and Cloudflare
how to use SSL and Cloudflare at the same time.
------------------------------------------------------------------
المشكلة :
------------------------------------------------------------------
Im using CloudFlare and WHM AutoSSL can not verify domain name.
I have errors like:
DNS DCV: The DNS query to “_cpanel-dcv-test-record.companyname.com” for the DCV challenge returned no “TXT” record that matches the value “_cpanel-dcv-test-record=zDMyqFvxp3hhaPE”.; HTTP DCV: “cPanel (powered by Sectigo)” forbids DCV HTTP redirections.
A temporary solution is to "
Pause Cloudflare on Site" (Cloudflare), run again "
AutoSSL" (cPanel), and then "
Enable Cloudflare on Site" (Cloudflare).
Any better solution with AutoSSL and CloudFlare?
Notes:
Iam using
Full encryption mode at Cloudflare (Encrypts end-to-end, using a self signed certificate on the server)
------------------------------------------------------------------
حل المشكلة :
------------------------------------------------------------------
الباقة المجانية من كلاود فلير لا تسمح لك باستخدام شهادة ssl مدمجة
الا فى الباقة المدفوعة , والبديل عمل pause للكلاود فلير ثم الذهاب الى cpanel
والضغط على autossl وبعد توليد الشهادة رجع الكلاود فلير للعمل مرة اخري.
* ملحوظة توليد الشهادة بيكون كل 3 شهور
يمكنك عمل Pause او تحويل الايقونات البرتقالى الى الرمادي
وهنا هيكون جميعها وهى تقريبا 10 يجب جعلها dns only اى وضع الرمادي
حيث شهادة ssl تولد الكثير من subdomains معها ايضا ويجب جميعها ان يتم عمل ssl
ملحوظة : سواء جعل الايقونة رمادى او عمل pause
كلاهم يوقف البروكسي وبالتالى يظهر الاى بى الحقيقى وهيشوف السيرفر
لا يوجد انتظار 24 ساعة ولا تغيير dns ولا توقف الموقع ... فقط توقف البروكسي
وجعل الموقع موجه للدى ان اس مباشر الخاص بك وعمل من نفسه تعطيل مؤقت لجميع اعدادت cf
وفى الحالى اذهب اعمل auto renew ثم ارجع اعمل resume فى كلاود فلير
فى منتهى السهولة.
------------------------------------------------------------------
How to Address the Error
------------------------------------------------------------------
We have several options in addressing this problem.
We can purchase a stand-alone SSL certificate
We can use Cloudflare’s SSL Option without AutoSSL
We can use the cPanel SSL option without Cloudflare
We can temporarily pause Cloudflare and then update the AutoSSL certificate
We choose option 4 in this case. Addressing this problem is pretty straightforward.
Step 1. Pause Cloudflare
We begin by logging into the cloudflare.com dashboard that controls the DNS for the domain and pauses Cloudflare for a moment.
In the top left, go to “
Overview.” Then find the “
Advanced Options” section, and in the bottom right, click on “
Pause Cloudflare on Site.”
Step 2. Run AutoSSL
Once we have accomplished this, we can rerun AutoSSL to issues the certificate. This will ensure our domain passes Domain Control Validation.
Using AutoSSL in WHM-Cpanel
While we are on this topic, we will demonstrate how to use the AutoSSL feature in WHM.
- First login to your server WHM.
2. In the search bar type “
autossl” and click on “
Manage AutoSSL”
3. This will take us to a new screen. In that screen locate the “
Manage Users” tab.
4. Find the cPanel user for your domain on the right and click on check “
example” in blue.
5. It will now issue an SSL for the domain.
Great! We just renewed the SSL.
Verify SSL
So, where do we go to verify it actually worked? We will check the logs, of course!
- Go back to the “Manage AutoSSL” option in WHM.
2. Click on the
“Logs” tab in the middle.
3. Click on “
Refresh” so you can see the latest logs.
4. Click on the latest log available.
5. Click on “
View Log”, to view the log you selected.
The output of the log is usually long, but it will show an entry something akin to the following entry at the very bottom of the log.
The certificate is available. The system will now attempt to install it.
12:49:02 PM SUCCESS The certificate is now installed!
ماذا يحدث اذا لم تجدد شهادة ssl ؟
هيظل التشفير كما هو يعمل بين العميل و كلاود فلير منا ناحية
ولكن من ناحية الكلاود فلير و السيرفر لا يعمل التشفير
وبالتالى اذا كان التشفير هام طبق الشرح فى الاعلى
ولا يوجد حل اخر الا بالدفع باقة business وهى غالية
Conclusion
The free SSL from WHM should be renewed every 3 months. The other workaround would be ordering a paid SSL for one year. If we choose to order an SSL to avoid having to do this every 3 months we have 2 options.
- Standard SSL that covers your domain.com and the subdomain www.domain.com for $50/Year.
- A Wildcard SSL. This SSL will cover your main domain and any subdomain for $150/Year.
المرجع:
https://forums.cpanel.net/threads/au...dflare.678069/
https://www.liquidweb.com/kb/how-to-...ror-in-cpanel/
https://maevelander.net/how-to-solve...nd-cloudflare/
https://www.namecheap.com/support/kn...led-in-cpanel/
https://webmasters.stackexchange.com...loudflares-ssl
https://www.indowhiz.com/articles/en...-cdn-problems/
https://community.cloudflare.com/t/h...dflare/68798/3
المفضلات