I packaged a java application under ubuntu in .deb I would like to sign it.
under windows I use signtool.exe to sign the
.exe with command :
signtool.exe sign / f cert.p12 / p passwordcert app.exe
.
Is there a similar command to sign under linux?
Thank you for your help.
Asked
Active
Viewed 439 times
4

Nadir Fouka
- 452
- 4
- 14
1 Answers
1
You can do it by using openssl.
Convert the .p12 to a .pem and then sign the file with pkeyutl, like:
openssl pkeyutl -sign -in file -inkey key.pem -out sig

hess
- 76
- 5
-
Thank you Gesferson, It Works! – Nadir Fouka Nov 08 '18 at 09:02