Files
meta-openembedded/meta-networking/recipes-connectivity
Mingli Yu 52f5141109 freeradius: fix the occasional verification failure
Fixes:
  # cd /etc/raddb/certs
  # ./bootstrap
[snip]
chmod g+r ca.key
openssl pkcs12 -in server.p12 -out server.pem -passin pass:'whatever' -passout pass:'whatever'
chmod g+r server.pem
C = FR, ST = Radius, O = Example Inc., CN = Example Server Certificate, emailAddress = admin@example.org
error 7 at 0 depth lookup: certificate signature failure
140066667427072:error:04067084:rsa routines:rsa_ossl_public_decrypt:data too large for modulus:../openssl-1.1.1g/crypto/rsa/rsa_ossl.c:553:
140066667427072:error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP lib:../openssl-1.1.1g/crypto/asn1/a_verify.c:170:
error server.pem: verification failed
make: *** [Makefile:107: server.vrfy] Error 2

It seems the ca.pem mismatchs server.pem which results in failing to
execute "openssl verify -CAfile ca.pem server.pem", so add the logic
to check the file to avoid inconsistency.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-05 10:02:11 -07:00
..
2019-07-11 23:18:54 -07:00
2020-06-29 07:20:22 -07:00
2020-03-20 07:44:29 -07:00
2020-01-22 09:56:34 -08:00
2018-08-19 17:10:27 -04:00
2020-07-31 13:22:52 -07:00
2020-07-31 13:22:52 -07:00
2020-05-21 20:16:40 -07:00
2020-02-04 18:45:47 -08:00
2020-04-15 11:26:22 -07:00
2020-06-08 13:58:03 -07:00
2020-07-28 12:55:35 -07:00
2020-06-26 09:00:05 -07:00
2020-07-31 13:22:52 -07:00
2020-08-03 10:49:15 -07:00
2020-07-31 13:22:52 -07:00
2020-07-31 13:22:53 -07:00
2019-07-10 09:24:32 -07:00
2020-05-31 22:42:25 -07:00
2020-03-23 16:29:09 -07:00
2018-11-01 10:04:54 -07:00
2020-04-26 23:12:15 -07:00