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:
92c92cf
)
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
Russ Allbery
<rra@debian.org>
Wed, 25 Jun 2008 23:36:04 +0000
(16:36 -0700)
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
aa47b68
..
5bb67db
100755
(executable)
--- a/
configs/keygen.sh
+++ b/
configs/keygen.sh
@@
-27,7
+27,7
@@
if [ -s sp-key.pem -o -s sp-cert.pem ] ; then
fi
if [ -z "$FQDN" ] ; then
- FQDN=`hostname`
+ FQDN=`hostname
--fqdn
`
fi
if [ -z "$YEARS" ] ; then