0
我在哪裏可以獲得證書給我正在工作的企業,用於簽署我們分發的可執行文件?因爲現在,如果客戶端從Internet下載.exe文件,則Windows在執行時會顯示安全警告對話框「未知發行者」。獲得證書並在Linux上簽名exe
此外,一旦我得到它,我如何在Linux上簽名可執行文件?
我在哪裏可以獲得證書給我正在工作的企業,用於簽署我們分發的可執行文件?因爲現在,如果客戶端從Internet下載.exe文件,則Windows在執行時會顯示安全警告對話框「未知發行者」。獲得證書並在Linux上簽名exe
此外,一旦我得到它,我如何在Linux上簽名可執行文件?
Mono的signing tools允許在Linux機器上簽名可執行文件。
首先轉換您.pfx
證書.pvk
和.spc
文件:
openssl pkcs12 -in authenticode.pfx -nocerts -nodes -out key.pem
openssl rsa -in key.pem -outform PVK -pvk-strong -out authenticode.pvk
openssl pkcs12 -in authenticode.pfx -nokeys -nodes -out cert.pem
openssl crl2pkcs7 -nocrl -certfile cert.pem -outform DER -out authenticode.spc
,然後簽字:
signcode \
-spc authenticode.spc \
-v authenticode.pvk \
-a sha1 -$ commercial \
-n My\ Application \
-i http://www.example.com/ \
-t http://timestamp.verisign.com/scripts/timstamp.dll \
-tr 10 \
application.exe
同樣的問題:https://stackoverflow.com/questions/18287960/signing- Windows的應用程序上 - 基於Linux的發行版/ 29073957#29073957 – EFernandes 2017-11-14 11:36:11