SHA256
1
0
forked from pool/apache2

Accepting request 340178 from home:pgajdos

- gensslcert: CN now defaults to `hostname -f` [bnc#949766] 
  (internal), fix help [bnc#949771] (internal)

OBS-URL: https://build.opensuse.org/request/show/340178
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=462
This commit is contained in:
Petr Gajdos 2015-10-26 08:39:01 +00:00 committed by Git OBS Bridge
parent 5153dfbe10
commit a804f8f382
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 21 07:35:30 UTC 2015 - pgajdos@suse.com
- gensslcert: CN now defaults to `hostname -f` [bnc#949766]
(internal), fix help [bnc#949771] (internal)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 18 03:47:09 UTC 2015 - crrodriguez@opensuse.org Sun Oct 18 03:47:09 UTC 2015 - crrodriguez@opensuse.org

View File

@ -23,7 +23,7 @@ function usage
-l city $L -l city $L
-o organisation "$O" -o organisation "$O"
-u organisational unit "$U" -u organisational unit "$U"
-n fully qualified domain name $CN (\$FQHOSTNAME) -n fully qualified domain name $CN (hostname -f)
-e email address of webmaster webmaster@$CN -e email address of webmaster webmaster@$CN
-y days server cert is valid for $srvdays -y days server cert is valid for $srvdays
-Y days CA cert is valid for $CAdays -Y days CA cert is valid for $CAdays
@ -40,7 +40,7 @@ function myexit { error something ugly seems to have happened in line $1...; exi
r=$ROOT r=$ROOT
. $r/etc/sysconfig/network/config . $r/etc/sysconfig/network/config
FQHOSTNAME=`cat /etc/HOSTNAME` FQHOSTNAME=`hostname -f`
# defaults # defaults
comment="mod_ssl server certificate" comment="mod_ssl server certificate"