1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:02:08 +02:00
tldr/pages.ar/common/openssl-x509.md
2025-02-06 23:01:09 +05:30

741 B

openssl x509

أمر OpenSSL لإدارة شهادات X.509. لمزيد من التفاصيل: https://www.openssl.org/docs/manmaster/man1/openssl-x509.html.

  • عرض معلومات الشهادة:

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}}