Sample Header Ad - 728x90

Solaris 10 elfsign: how to create a correct certificate to sign a binary?

0 votes
0 answers
37 views
On Solaris11 is possible to use certificates made with openssl, on Solaris 10 is different elfsign sign -c solaris10.crt -k solaris10.key -e libeel-2.so exit with error and state of exit is 4 (certificate not loaded) anyone know how to create a certificate in pkcs#10 format for this program? PEM trying I tryng a pem certificate...but give error. elfsign sign -c sol1.pem -k sol1.pem -e libeel-2.so elfsign: Unable to load certificate: sol1.pem Generating a pem with those commands works..but now don't load the key openssl req -config ssl/openssl.cnf -new -newkey rsa:4096 -nodes -keyout snakeoil.key -out snakeoil.csr -batch openssl x509 -req -sha256 -days 365 -in snakeoil.csr -signkey snakeoil.key -out snakeoil.pem elfsign sign -c snakeoil.pem -k snakeoil.key -e libeel-2.so elfsign: Unable to load private key: snakeoil.key
Asked by elbarna (13690 rep)
Dec 18, 2024, 09:16 PM
Last activity: Dec 18, 2024, 10:18 PM