diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2020-07-13 15:55:32 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-07-13 09:01:58 -0700 |
commit | 0d7522b7df80e45c379ad76addfddd51d0e56e9d (patch) | |
tree | 6d9448f2d3109e4736eda37ab2d2be2482a94dba /meta-multimedia | |
parent | 4b181cc35a09374d79b22e34048d8e104cd6788e (diff) | |
download | meta-openembedded-0d7522b7df80e45c379ad76addfddd51d0e56e9d.tar.gz |
freeradius: fix the existed certificate error
Fixes the occasional error:
# cd /etc/raddb/certs
# ./bootstrap
[snip]
openssl ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key 'whatever' -out client.crt -extensions xpclient_ext -extfile xpextensions -config ./client.cnf
Using configuration from ./client.cnf
Check that the request matches the signature
Signature ok
ERROR:There is already a certificate for /C=FR/ST=Radius/O=Example Inc./CN=user@example.org/emailAddress=user@example.org
The matching entry has the following details
Type :Valid
Expires on :200908024833Z
Serial Number :02
File name :unknown
Subject Name :/C=FR/ST=Radius/O=Example Inc./CN=user@example.org/emailAddress=user@example.org
make: *** [Makefile:128: client.crt] Error 1
Add the check to fix the above error and it does the same for server.crt.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
0 files changed, 0 insertions, 0 deletions