mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-09 08:16:57 +08:00
Regenerated expired certificates and updated scripts for new ones
Also added rules and templates to regenerate certificates when needed. Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ opts=$1
|
||||
pass=$2
|
||||
rm -f ${OUTFILE}
|
||||
|
||||
echo "$pass" | LD_PRELOAD=libsocket_wrapper.so $OPENCONNECT -q $ADDRESS:$PORT $opts --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --authenticate >${OUTFILE} 2>&1
|
||||
echo "$pass" | LD_PRELOAD=libsocket_wrapper.so $OPENCONNECT -q $ADDRESS:$PORT $opts --servercert=pin-sha256:xp3scfzy3rOQsv9NcOve/8YVVv+pHr4qNCXEXrNl5s8= --authenticate >${OUTFILE} 2>&1
|
||||
if test $? != 0;then
|
||||
cat ${OUTFILE}
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user