[cpp-sp] 65/78: Add the --fqdn flag to hostname for generating keys
Scott Cantor
cantor.2 at osu.edu
Thu Dec 20 19:40:40 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/2.0.dfsg1-1
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=4707846c9815a40cbc5245b482c100432d0abfb7
commit 4707846c9815a40cbc5245b482c100432d0abfb7
Author: Russ Allbery <rra at debian.org>
AuthorDate: Wed Jun 25 16:36:04 2008 -0700
Add the --fqdn flag to hostname for generating keys
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/keygen.sh b/configs/keygen.sh
index aa47b68..5bb67db 100755
--- 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list