| |||||
" } ####################################################################### # local shell function to perform SSL Client Authentication tests # in interoperability mode. Tests run against web server by using nss # test client # Params: # $1 - supported type of testing. # $2 - testing host # $3 - nss db location # No return value # ssl_iopr_auth_ext_server() { testType=$1 host=$2 dbDir=$3 setTestParam $testType if [ "`echo $testParam | grep NOAUTH`" != "" ]; then echo "SSL Client Authentication WebServ($IOPR_HOSTADDR) excluded from " \ "run by server configuration" return 0 fi html_head "SSL Client Authentication WebServ($IOPR_HOSTADDR $BYPASS_STRING $NORM_ $testDescription" setValidCert;ret=$? if [ $ret -ne 0 ]; then html_failed "Fail to find valid test cert(ws: $host)" return $ret fi SSL_REQ_FILE=${TMP}/sslreq.dat.$$ echo "GET $sslUrl HTTP/1.0" > $SSL_REQ_FILE echo >> $SSL_REQ_FILE SSLAUTH_TMP=${TMP}/authin.tl.tmp grep -v "^#" ${SSLAUTH} | grep -- "-r_-r_-r_-r" > ${SSLAUTH_TMP} while read ecc value sparam cparam testname; do [ -z "$ecc" -o "$ecc" = "#" -o "$ecc" = "ECC" ] && continue; cparam=`echo $cparam | sed -e 's;_; ;g' -e "s/TestUser/$testUser/g" ` echo "tstclnt -p ${sslPort} -h ${host} ${CLIEN_OPTIONS} -f ${cparam} \\" echo " -d ${dbDir} -v < ${SSL_REQ_FILE}" resFile=${TMP}/$HOST.tmp.$$ rm $rsFile 2>/dev/null ${BINDIR}/tstclnt -p ${sslPort} -h ${host} ${CLIEN_OPTIONS} -f ${cparam} \ -d ${dbDir} -v < ${SSL_REQ_FILE} >$resFile 2>&1 ret=$? grep "ACCESS=OK" $resFile test $? -eq 0 -a $ret -eq 0 ret=$? [ $ret -ne 0 ] && cat $resFile rm $resFile 2>/dev/null html_msg $ret $value "${testname}. Client params: $cparam"\ "produced a returncode of $ret, expected is $value" done < ${SSLAUTH_TMP} rm -f ${SSLAUTH_TMP} ${SSL_REQ_FILE} html " |
| Messung V0.5 | ||
|---|---|---|
*© Formatika GbR, Deutschland
|
Wurzel |
|
Suchen |
Beweissystem der NASA |
Beweissystem Isabelle |
NIST Cobol Testsuite |
Cephes Mathematical Library |
Wiener Entwicklungsmethode |
HaftungshinweisDie Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung: Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.
|
2026-04-04