changed trustargs on import personal certificates for s/mime

from u,u,u (trusted user) to p,p,p (peer certificate)
This commit is contained in:
sonmi%netscape.com 2001-04-20 00:32:15 +00:00
Родитель c60ed6c236
Коммит 646c3e656c
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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