diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2020-07-13 15:55:32 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-07-29 22:41:18 -0700 |
commit | fd0d398fe70f8ea109f7a9efa5b13bfff1a70bd0 (patch) | |
tree | 8454bf0c9b2a845817a1c326f72e8f73567ebdab /meta-networking/recipes-netkit/netkit-telnet/files/0001-telnetd-utility.c-Fix-buffer-overflow-in-netoprintf.patch | |
parent | 1e19fc4d9caacba9aeb82a04a293d8de65b5c3c9 (diff) | |
download | meta-openembedded-fd0d398fe70f8ea109f7a9efa5b13bfff1a70bd0.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>
(cherry picked from commit 0d7522b7df80e45c379ad76addfddd51d0e56e9d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-telnet/files/0001-telnetd-utility.c-Fix-buffer-overflow-in-netoprintf.patch')
0 files changed, 0 insertions, 0 deletions