From 3eb15caaf8da28937f9bdc0718657218d8afcf80 Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Jul 16 2020 18:23:15 +0000 Subject: Update cert coversion instructions Signed-off-by: Tomas Hrcka --- diff --git a/docs/source/sop_fedora_media_writer.rst b/docs/source/sop_fedora_media_writer.rst index 277a5be..6a07ce4 100644 --- a/docs/source/sop_fedora_media_writer.rst +++ b/docs/source/sop_fedora_media_writer.rst @@ -19,18 +19,14 @@ Windows #. Get a windows code signing key from any certification authority that is trusted by windows. -#. Convert the .pem formatted certificate to .pvk format: - - :: - - $ openssl rsa -in key.pem -outform PVK -pvk-strong -out authenticode.pvk +#. Convert the .p7b formatted certificate to .pxf format: -#. Convert the key file to .pfx format: :: + $ openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer + $ openssl pkcs12 -export -in certificate.cer -inkey authenticode.key -out authenticode.pfx -certfile CACert.cer; - $ openssl pkcs12 -export -out authenticode.pfx -inkey authenticode.key -in key.pem #. Clone the Fedora Media Writer git repo: