git://scientific.zcu.cz
/
glite-security-test-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a732de
)
fix properly the host_x certs
author
Joni Hahkala
<joni.hahkala@cern.ch>
Thu, 8 Jul 2010 15:50:42 +0000
(15:50 +0000)
committer
Joni Hahkala
<joni.hahkala@cern.ch>
Thu, 8 Jul 2010 15:50:42 +0000
(15:50 +0000)
bin/generate-test-certificates.sh
patch
|
blob
|
blame
|
history
diff --git
a/bin/generate-test-certificates.sh
b/bin/generate-test-certificates.sh
index
b2c4a4a
..
8374560
100755
(executable)
--- a/
bin/generate-test-certificates.sh
+++ b/
bin/generate-test-certificates.sh
@@
-851,19
+851,19
@@
function create_all {
TYPE="host_exp"
- CTYPE="
CN=expired, $HOSTNAME
"
+ CTYPE="
$HOSTNAME, emailAddress=expired@expired.foo
"
TYPE2="server"
create_cert $CERT_DIR/${catype}_${TYPE} "${CTYPE}" ${TYPE2} -1
TYPE="host_baddn"
- CTYPE="
CN=baddn,
$HOSTNAME"
+ CTYPE="$HOSTNAME"
TYPE2="hostbaddn"
create_cert $CERT_DIR/${catype}_${TYPE} "${CTYPE}" ${TYPE2} $DAYS
TYPE="host_email"
- CTYPE="
CN=email,
$HOSTNAME"
+ CTYPE="$HOSTNAME"
TYPE2="hostemail"
create_cert $CERT_DIR/${catype}_${TYPE} "${CTYPE}" ${TYPE2} $DAYS