noodle
(Noodle)
13 ديسمبر 2019، 11:10م
1
مرحبًا، أحاول إعداد منصة Discourse على جهاز Ubuntu لأول مرة. الهدف هو أن تكون المنصة قابلة للوصول فقط من داخل شبكة شركتنا، وبالتالي فإن عنوان IP المسجل مع مزود DNS الخاص بنا هو عنوان IP داخلي.
أستخدم الإرشادات من: How to Install Discourse Forum with Nginx on Ubuntu 16.04
نجحت في عملية التمهيد والإطلاق. ومع ذلك، فإن الخطوة 3 (إنشاء شهادة SSL من Let’s Encrypt) تفشل مع الخطأ التالي:
فشلت عملية التفويض. <تم حذف اسم المضيف> (http-01): urn:ietf:params:acme:error:dns :: لم يتم العثور على عناوين IP صالحة لـ <تم حذف اسم المضيف>
أمر nslookup على الجهاز قادر على العثور على عنوان IP من اسم المضيف، ويمكنني أيضًا عمل ping لاسم المضيف.
أعتقد أن المشكلة تتعلق بحقيقة أن عنوان IP للمضيف هو عنوان داخلي. لقد وجدت هذه المقالة لكنني غير متأكد من كيفية المضي قدمًا: No valid IP addresses found for (my domain) - #8 by _az - Help - Let's Encrypt Community Support
Remah
(Just another happy Discourse user)
14 ديسمبر 2019، 1:30ص
2
تحتاج Let’s Encrypt إلى الوصول إلى عنوان IP الخاص بك من الإنترنت.
قد تساعدك المواضيع/المنشورات التالية:
If your server isn’t publicly accessible then Let’s Encrypt can’t verify that the DNS name resolves. If it were possible for servers to get Let’s Encrypt certificates without first verifying this, then all kinds of mischief would be possible.
Even if you can bodge this to temporarily get access and issue a certificate, it will fail for renewals.
VPN can’t help you here.
You’re going to need to either:
ask your university if they operate a Certificate Authority and can issue the server a cer…
https://meta.discourse.org/t/adding-a-dns-name-to-an-ip-based-install/102898/2?u=remah
You’ve skirted around answering my question somewhat.
Is there a valid public DNS record pointed at the public IP of the server? Are :80 and :443 externally accessible on that hostname and IP?