From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga luci/init.d/luci luci/utils/luci_admin r ...
Date: 11 Jan 2007 00:24:00 -0000 [thread overview]
Message-ID: <20070111002400.23389.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: kupcevic at sourceware.org 2007-01-11 00:23:59
Modified files:
luci/init.d : luci
luci/utils : luci_admin
ricci/init.d : ricci
ricci/test : INSTALL
Log message:
increase certs' lifes to 5 years (from 3)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/init.d/luci.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.11&r2=1.11.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.50.2.1&r2=1.50.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/init.d/ricci.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.8.2.1&r2=1.8.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/test/INSTALL.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2&r2=1.2.2.1
--- conga/luci/init.d/luci 2006/10/05 15:01:39 1.11
+++ conga/luci/init.d/luci 2007/01/11 00:23:58 1.11.2.1
@@ -67,7 +67,7 @@
rm -f $HTTPS_PRIVKEY $HTTPS_PUBKEY
echo -n "generating https SSL certificates... "
/usr/bin/openssl genrsa -out $HTTPS_PRIVKEY 2048 > /dev/null 2>&1
- /usr/bin/openssl req -new -x509 -key $HTTPS_PRIVKEY -out $HTTPS_PUBKEY -days 1095 -config /var/lib/luci/var/certs/cacert.config
+ /usr/bin/openssl req -new -x509 -key $HTTPS_PRIVKEY -out $HTTPS_PUBKEY -days 1825 -config /var/lib/luci/var/certs/cacert.config
/bin/chown $LUCI_USER:$LUCI_GROUP $HTTPS_PRIVKEY $HTTPS_PUBKEY
/bin/chmod 600 $HTTPS_PRIVKEY
/bin/chmod 644 $HTTPS_PUBKEY
--- conga/luci/utils/luci_admin 2006/12/22 17:50:17 1.50.2.1
+++ conga/luci/utils/luci_admin 2007/01/11 00:23:59 1.50.2.2
@@ -996,9 +996,9 @@
args = [command, 'genrsa', '-out', SSL_PRIVKEY_PATH, '2048']
_execWithCaptureErrorStatus(command, args)
- # /usr/bin/openssl req -new -x509 -key /var/lib/luci/var/certs/privkey.pem -out /var/lib/luci/var/certs/cacert.pem -days 1095 -config /var/lib/luci/var/certs/cacert.config
+ # /usr/bin/openssl req -new -x509 -key /var/lib/luci/var/certs/privkey.pem -out /var/lib/luci/var/certs/cacert.pem -days 1825 -config /var/lib/luci/var/certs/cacert.config
command = '/usr/bin/openssl'
- args = [command, 'req', '-new', '-x509', '-key', SSL_PRIVKEY_PATH, '-out', SSL_PUBKEY_PATH, '-days', '1095', '-config', SSL_KEYCONFIG_PATH]
+ args = [command, 'req', '-new', '-x509', '-key', SSL_PRIVKEY_PATH, '-out', SSL_PUBKEY_PATH, '-days', '1825', '-config', SSL_KEYCONFIG_PATH]
_execWithCaptureErrorStatus(command, args)
# take ownership and restrict access
--- conga/ricci/init.d/ricci 2006/10/24 21:59:55 1.8.2.1
+++ conga/ricci/init.d/ricci 2007/01/11 00:23:59 1.8.2.2
@@ -58,7 +58,7 @@
rm -f $SSL_PUBKEY $SSL_PRIVKEY
echo -n "generating SSL certificates... "
/usr/bin/openssl genrsa -out $SSL_PRIVKEY 2048 > /dev/null 2>&1
- /usr/bin/openssl req -new -x509 -key $SSL_PRIVKEY -out $SSL_PUBKEY -days 1095 -config /var/lib/ricci/certs/cacert.config
+ /usr/bin/openssl req -new -x509 -key $SSL_PRIVKEY -out $SSL_PUBKEY -days 1825 -config /var/lib/ricci/certs/cacert.config
/bin/chown $RUNASUSER:$RUNASUSER $SSL_PRIVKEY $SSL_PUBKEY
/bin/chmod 644 $SSL_PUBKEY
/bin/chmod 600 $SSL_PRIVKEY
--- conga/ricci/test/INSTALL 2006/03/28 15:46:58 1.2
+++ conga/ricci/test/INSTALL 2007/01/11 00:23:59 1.2.2.1
@@ -6,7 +6,7 @@
2. Generate SSL key and certificate:
openssl genrsa -out privkey.pem 2048
- openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
+ openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1825
and move them to /usr/share/ricci-storage-web/certs/
3. chmod a+x /var/www/cgi-bin/ricci-storage-web
next reply other threads:[~2007-01-11 0:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-11 0:24 kupcevic [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-01-18 3:02 [Cluster-devel] conga luci/init.d/luci luci/utils/luci_admin r rmccabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070111002400.23389.qmail@sourceware.org \
--to=kupcevic@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.