2014-11-25 1 views
0

우리가 배포하는 실행 파일에 서명하기 위해 어디에서 일하고 있습니까? 왜냐하면 클라이언트가 인터넷에서 .exe 파일을 다운로드하면 Windows는 실행시 보안 경고 대화 상자 "알 수없는 게시자"를 표시합니다.리눅스에서 인증서를 얻고 exe에 서명하십시오.

그런데 일단 내가 얻으면 리눅스에서 실행 파일에 어떻게 서명 할 수 있습니까?

+0

같은 질문 : https://stackoverflow.com/questions/18287960/signing-

먼저 .pvk.spc 파일에 .pfx 인증서를 변환 windows-application-on-linux-based-distros/29073957 # 29073957 – EFernandes

답변

0

모노의 signing tools은 리눅스 박스에서 실행 파일에 서명 할 수 있습니다. 서명 후

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 
관련 문제