From 6f528c035b9af662aa495eac7f9d5039a174b11e Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Fri, 7 Apr 2006 04:28:16 +0000 Subject: [PATCH] - simplify/correct certificate generation --- plc.d/ssl | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/plc.d/ssl b/plc.d/ssl index 6480db3..77c2445 100755 --- a/plc.d/ssl +++ b/plc.d/ssl @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: ssl,v 1.1 2006/04/06 21:51:59 mlhuang Exp $ +# $Id: ssl,v 1.2 2006/04/07 03:36:04 mlhuang Exp $ # # Source function library and configuration @@ -65,16 +65,8 @@ case "$1" in if [ ! -f ${!ssl_crt} ] ; then mkdir -p $(dirname ${!ssl_crt}) openssl req -new -x509 -days 365 -set_serial $RANDOM \ - -nodes -keyout ${!ssl_key} -out ${!ssl_crt} <