diff --git a/pages.ar/common/openssl-x509.md b/pages.ar/common/openssl-x509.md new file mode 100644 index 0000000000..402ca83601 --- /dev/null +++ b/pages.ar/common/openssl-x509.md @@ -0,0 +1,20 @@ +# openssl x509 + +> أمر OpenSSL لإدارة شهادات X.509. +> لمزيد من التفاصيل: . + +- عرض معلومات الشهادة: + +`openssl x509 -in {{filename.crt}} -noout -text` + +- عرض تاريخ انتهاء صلاحية الشهادة: + +`openssl x509 -enddate -noout -in {{filename.pem}}` + +- تحويل الشهادة بين الترميز الثنائي DER والترميز النصي PEM: + +`openssl x509 -inform {{der}} -outform {{pem}} -in {{original_certificate_file}} -out {{converted_certificate_file}}` + +- تخزين المفتاح العام للشهادة في ملف: + +`openssl x509 -in {{certificate_file}} -noout -pubkey -out {{output_file}}`