changed trustargs on import personal certificates for s/mime

from u,u,u (trusted user) to p,p,p (peer certificate)


git-svn-id: svn://10.0.0.236/trunk@92768 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sonmi%netscape.com 2001-04-20 00:32:15 +00:00
parent c91138df8b
commit fc5a9579bc

View File

@ -299,19 +299,19 @@ cert_smime_client()
#
echo "$SCRIPTNAME: Importing Certificates =============================="
CU_ACTION="Import Alices's cert into Bob's db"
certu -E -t "u,u,u" -d ${R_BOBDIR} -f ${R_PWFILE} \
certu -E -t "p,p,p" -d ${R_BOBDIR} -f ${R_PWFILE} \
-i ${R_ALICEDIR}/Alice.cert 2>&1
CU_ACTION="Import Bob's cert into Alice's db"
certu -E -t "u,u,u" -d ${R_ALICEDIR} -f ${R_PWFILE} \
certu -E -t "p,p,p" -d ${R_ALICEDIR} -f ${R_PWFILE} \
-i ${R_BOBDIR}/Bob.cert 2>&1
CU_ACTION="Import Dave's cert into Alice's DB"
certu -E -t "u,u,u" -d ${R_ALICEDIR} -f ${R_PWFILE} \
certu -E -t "p,p,p" -d ${R_ALICEDIR} -f ${R_PWFILE} \
-i ${R_DAVEDIR}/Dave.cert 2>&1
CU_ACTION="Import Dave's cert into Bob's DB"
certu -E -t "u,u,u" -d ${R_BOBDIR} -f ${R_PWFILE} \
certu -E -t "p,p,p" -d ${R_BOBDIR} -f ${R_PWFILE} \
-i ${R_DAVEDIR}/Dave.cert 2>&1
if [ "$CERTFAILED" != 0 ] ; then