بمجرد إعداد شهادة Let’s Encrypt على راوتر MikroTik RouterOS أو CHR، يمكنك تهيئة خدمة API لاستخدامها.
سجّل الدخول إلى راوترك باستخدام ssh، مثل ssh admin@chr.mydomain.com.
الآن انسخ والصق التالي:
set_api_ssl_cert.rsc
/ip/service set api-ssl certificate=[/certificate find where name~"^letsencrypt.*"]اختُبر هذا فقط في حالة وجود شهادة letsencrypt واحدة. سأحدّث هذا المنشور حين أختبره مع عدة شهادات (مجددة).
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow