From 3aec19fa98a723c70059d5d15d829540d25cee01 Mon Sep 17 00:00:00 2001 From: John White Date: Fri, 3 Jun 2005 12:48:59 +0000 Subject: [PATCH] Added the user certificate to the proxy-proxy chain. --- bin/generate-test-certificates.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/generate-test-certificates.sh b/bin/generate-test-certificates.sh index 0b71879..a501e7f 100755 --- a/bin/generate-test-certificates.sh +++ b/bin/generate-test-certificates.sh @@ -224,8 +224,12 @@ function create_cert_proxy_proxy { openssl rsa -in ${X509_PROX_KEY} -passin pass:${PASSWORD} >> ${X509_PROX_GRID} # Now add the original certificate used to sign the request to the proxy file. - # This should be the certificate issued by the CA to the 'user'. + # In this case it is the proxy certificate! openssl x509 -in ${X509_SIGNING_CERT} >> ${X509_PROX_GRID} + + # adding in the original certificate to the chain. 03/06/05 + openssl x509 -in ${filebase}.cert >> ${X509_PROX_GRID} + chmod 600 ${X509_PROX_GRID} cp ${CA_DIR}/serial_proxy.txt ${CA_DIR}/serial.txt -- 1.8.2.3