HCoop
/
clinton
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a8912
)
ca-sign: Add instructions for generating CA key and cert to header.
author
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Wed, 14 May 2008 21:54:54 +0000
(17:54 -0400)
committer
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Wed, 14 May 2008 21:54:54 +0000
(17:54 -0400)
ca-sign
patch
|
blob
|
blame
|
history
diff --git
a/ca-sign
b/ca-sign
index
a5992bf
..
a587cc0
100755
(executable)
--- a/
ca-sign
+++ b/
ca-sign
@@
-7,6
+7,12
@@
# Run this on deleuze as an admin.
#
# Usage: ca-sign days request.csr key.asc outfile.pem [domain]
+#
+# If we need to generate a new CA private key and cert, do:
+#
+# $ openssl genrsa -out private/ca.key 2048 -nodes
+# $ openssl req -config openssl.cnf -x509 -sha1 -days 3650 \
+# -key private/ca.key -new -out ca.crt
if test -n "$6" || test -z "$4"; then
echo "Incorrect arguments."