make check fails due to "subj"
make[2]: 'private-key.rsa' is up to date.
openssl req -x509 -sha256 -subj '/' -new -key private-key.rsa -out public-cert.pem
req: Unknown digest subj
req: Use -help for summary.
Makefile:938: recipe for target 'public-cert.pem' failed
make[2]: *** [public-cert.pem] Error 1
make[2]: Leaving directory '/home/
Makefile:786: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/
Makefile:355: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Expanding "subj" to "subject" seems to take care of that, but then is explodes with errors:
openssl genrsa -out private-key.rsa 2048
invalid engine "private-key.rsa"
139718926882448
139718926882448
139718926882448
139718926882448
139718926882448
139718926882448
139718926882448
Generating RSA private key, 2048 bit long modulus
.......
...............+++
e is 65537 (0x010001)
openssl req -x509 -sha256 -subject '/' -new -key private-key.rsa -out public-cert.pem
rm test-x86_64.elf test-i386.o test-i386.elf test-x86_64.o
make[2]: Leaving directory '/home/
make check-TESTS
make[2]: Entering directory '/home/
make[3]: Entering directory '/home/
FAIL: sign-verify.sh
FAIL: sign-verify-
FAIL: sign-detach-
FAIL: sign-attach-
FAIL: sign-missing-
FAIL: sign-missing-
FAIL: sign-missing-key.sh
FAIL: verify-
FAIL: verify-
FAIL: sign-invalidatt
FAIL: cert-table-
FAIL: resign-warning.sh
FAIL: reattach-warning.sh
FAIL: detach-remove.sh
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: