projects
/
shibboleth
/
sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88c464
)
Add the --fqdn flag to hostname for generating keys
author
Russ Allbery
<rra@debian.org>
Wed, 25 Jun 2008 23:36:04 +0000
(16:36 -0700)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 1 Nov 2010 00:01:07 +0000
(20:01 -0400)
This is Debian-specific (or at least specific to systems with a hostname
that support this flag), but will produce more reliable names for an SSL
certificate.
configs/keygen.sh
patch
|
blob
|
history
diff --git
a/configs/keygen.sh
b/configs/keygen.sh
index
4ee69f6
..
9183e10
100755
(executable)
--- a/
configs/keygen.sh
+++ b/
configs/keygen.sh
@@
-33,7
+33,7
@@
if [ -s $OUT/sp-key.pem -o -s $OUT/sp-cert.pem ] ; then
fi
if [ -z "$FQDN" ] ; then
- FQDN=`hostname`
+ FQDN=`hostname
--fqdn
`
fi
if [ -z "$YEARS" ] ; then