Nadir Fouka :
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.
hess :
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