89 Commits

Author SHA1 Message Date
alexei.volkov.bugs%sun.com
880cb959f5 [Bug 220380] Add SSL client auth stress tests.
Attachment "auth patch"(#222740). r=nelson


git-svn-id: svn://10.0.0.236/trunk@198753 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 18:06:02 +00:00
nelson%bolyard.com
fc11ad1fed Add and use new -2 option for strsclnt to disable SSL2 compatible client
hellos, so we can stress test TLS hello extensions.  Bug 333559.
r=julien.pierre,rrelyea


git-svn-id: svn://10.0.0.236/trunk@194355 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 22:43:31 +00:00
nelson%bolyard.com
f33ea28075 WORKAROUND: disable all the ECDH_RSA cipher suites tests, since all those
tests require a cert with an EC public key and an RSA signature, and the
test scripts do not presently generate such a cert.
This workaround can be backed out when the real fix is available.
Bug 332222. r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@193917 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 04:28:32 +00:00
julien.pierre.bugs%sun.com
09b1507bbb Remove comment in ssl.sh that messes execution. Part of fix for bug 331413.
git-svn-id: svn://10.0.0.236/trunk@193178 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 06:54:56 +00:00
julien.pierre.bugs%sun.com
5fb22dc7fe Partial fix for bug 331413 . Allow selfserv to be tested for reference leaks. r=nelson
git-svn-id: svn://10.0.0.236/trunk@193176 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 05:03:10 +00:00
christophe.ravel.bugs%sun.com
2eecffe5ac Bugzilla 324887: merge ECC and non-ECC QA test scripts.
Add return code and error message for ssl_stress and ssl_cov.
r=vipul, sr=nelson.


git-svn-id: svn://10.0.0.236/trunk@191952 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 00:51:20 +00:00
wtchang%redhat.com
7eb28e8c0c Bugzilla Bug 324887: The previous checkin introduced a comment bug. A
comment line must begin with exactly one '#' character followed by white
space.


git-svn-id: svn://10.0.0.236/trunk@191735 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 22:10:30 +00:00
wtchang%redhat.com
af07208701 Bugzilla Bug 324887: merged ECC and non-ECC QA test scripts and removed
ECC QA test scripts.  The patch is written by Vipul Gupta and Christophe
Ravel of Sun. r=wtc,nelsonb,jpierre
Modified Files:
	cert/cert.sh smime/smime.sh ssl/ssl.sh ssl/sslauth.txt
	ssl/sslcov.txt ssl/sslstress.txt tools/tools.sh
Removed Files:
	fixtests.sh cert/eccert.sh smime/ecsmime.sh ssl/ecssl.sh
	ssl/ecsslauth.txt ssl/ecsslcov.txt ssl/ecsslstress.txt
	tools/ectools.sh


git-svn-id: svn://10.0.0.236/trunk@191720 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 20:06:03 +00:00
wtchang%redhat.com
9731576fbf Removed a blank line that broke the ssl_stress function in ecssl.sh, which
cannot handle blank lines.


git-svn-id: svn://10.0.0.236/trunk@188354 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 18:44:13 +00:00
wtchang%redhat.com
67e2b4967d Bugzilla Bug 236245: Updated NSS to "ECC Cipher Suites for TLS" draft 12
plus upcoming revisions.  The patch is contributed by Douglas Stebila
of Sun Labs <douglas@stebila.ca>. r=wtc.
Modified Files:
	cmd/selfserv/selfserv.c cmd/strsclnt/strsclnt.c
	cmd/tstclnt/tstclnt.c cmd/vfyserv/vfyserv.c lib/ssl/ssl3con.c
	lib/ssl/ssl3ecc.c lib/ssl/ssl3prot.h lib/ssl/sslenum.c
	lib/ssl/sslimpl.h lib/ssl/sslinfo.c lib/ssl/sslproto.h
	lib/ssl/sslsock.c tests/ssl/ecssl.sh tests/ssl/ecsslauth.txt
	tests/ssl/ecsslcov.txt tests/ssl/ecsslstress.txt
	tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@186032 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-14 01:49:40 +00:00
saul.edwards%sun.com
e805f1cb78 Bug 305147: add -B (bypass SSL) and -s (disable SSL locking) to server and client commands; add bypass testing to SSL test suite.
git-svn-id: svn://10.0.0.236/trunk@179894 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 04:50:07 +00:00
alexei.volkov.bugs%sun.com
49473f3c50 Adding cert id and revocation indication to CRL SSL Client Tests results.
git-svn-id: svn://10.0.0.236/trunk@172051 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 00:23:09 +00:00
alexei.volkov.bugs%sun.com
775e2d0de9 Fix for bug 265003: Add CRL generation to crlutil. Reviewed JP+
git-svn-id: svn://10.0.0.236/trunk@172015 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 02:24:17 +00:00
wtchang%redhat.com
11509a3176 Bugzilla Bug 221425: enable all.sh to run with Cygwin. Also fixed an
incorrect line continuation (of a tstclnt command line) in ssl.sh.
r=nelsonb,jpierre
Modified files: init.sh ssl.sh


git-svn-id: svn://10.0.0.236/trunk@170191 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 02:00:30 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
nelsonb%netscape.com
998c9ab79f Change ssl test scripts to invoke tstclnt with the server's FQDN.
Necessary because of fix to bug 234058.


git-svn-id: svn://10.0.0.236/trunk@154612 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-08 03:01:02 +00:00
ian.mcgreer%sun.com
643e7f3374 missed SSL ECC test files in last checkin
git-svn-id: svn://10.0.0.236/trunk@148062 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 14:10:18 +00:00
nelsonb%netscape.com
d1a6dbedb5 Restore sslreq.txt to text form, where it will have different line
endings on unix, than on windows or on Mac.


git-svn-id: svn://10.0.0.236/trunk@144696 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 04:14:24 +00:00
nelsonb%netscape.com
57bb7efbcd Test with the new file sslreq.dat rather than the old file sslreq.txt.
git-svn-id: svn://10.0.0.236/trunk@144695 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 04:05:12 +00:00
nelsonb%netscape.com
41c6214e44 This is sslreq.txt with a different file name, to clearly show that
this file is to be treated as a binary file, not as text.


git-svn-id: svn://10.0.0.236/trunk@144694 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 03:55:55 +00:00
nelsonb%netscape.com
a6115461da Correct all the tests in which the server requires client auth, but the
client does not supply it, so that the client actually will NOT supply
it.  Previously, the client was supplying client auth in all these tests,
and the https requests were completing succesfully, when they should have
been failing.  Bug 207398.


git-svn-id: svn://10.0.0.236/trunk@143086 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 05:40:40 +00:00
nelsonb%netscape.com
c5af6291aa Change the SSL3 stress test to disable TLS, so that it will actually
test SSL3.  Uses the new -T option recently added to strsclnt.


git-svn-id: svn://10.0.0.236/trunk@143085 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 05:38:12 +00:00
nelsonb%netscape.com
55fc56d7ec Fix this file to be proper http request syntax. Note: file is now a
binary file to assure identical line endings on all platforms.


git-svn-id: svn://10.0.0.236/trunk@142974 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 02:18:27 +00:00
wtc%netscape.com
3fefa37933 Bug 193055: the "cat ${file} | while read ...do ... done" construct does
not work under MKS Korn shell on Windows XP.  Replaced it by the equivalent
construct "while read ... do ... done < ${file}".


git-svn-id: svn://10.0.0.236/trunk@137841 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 04:48:13 +00:00
wtc%netscape.com
a9ba0466f5 Bug 129701: removed the sleep command for Linux in kill_selfserv().
Instead, we try to bind to the port in a loop until the port has been
freed.  Added the -b (bindOnly) option to selfserv for this purpose.
Modified files: cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@129045 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 13:41:21 +00:00
nelsonb%netscape.com
0be0cc631e Test the TLS_RSA_WITH_NULL_SHA cipher suite. Bug 161529. Also, order
tests so all SSL3 tests are done before all TLS tests.


git-svn-id: svn://10.0.0.236/trunk@126909 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 22:09:18 +00:00
relyea%netscape.com
5cbf0c359c Add the ability to test the multi-access database feature with existing test cases.
git-svn-id: svn://10.0.0.236/trunk@118492 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:39:44 +00:00
sonja.mirtitsch%sun.com
bbf56ac88d patch for bug 87914 r=wtc, NSS test scripts require . in the PATH
git-svn-id: svn://10.0.0.236/trunk@116945 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 03:01:27 +00:00
sonja.mirtitsch%sun.com
0dc347971b changing the way to figure out if selfserv is still present from ps to
kill -0 so we might be able to debug the disapearing selfserv problem
better


git-svn-id: svn://10.0.0.236/trunk@113766 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 05:34:16 +00:00
sonja.mirtitsch%sun.com
aa9b84f0e9 calling the selfserv now with -y to get the certs at the end, adjusted clients and wait times
git-svn-id: svn://10.0.0.236/trunk@113740 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 02:51:59 +00:00
wtc%netscape.com
52cd995d98 Bugzilla bug 119340: backed out the fix. We are still seeing the
"selfserv process not detectable" errors on Linux and I don't have
time to get to the bottom of it.
Modified files:
	cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@113271 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 02:03:57 +00:00
wtc%netscape.com
6fd02510af Bugzilla bug 119340: an inelegant but more reliable way to kill the
multithreaded 'selfserv' process on Linux.
Modified files:
    cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@112572 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 03:18:57 +00:00
sonja.mirtitsch%sun.com
6b88b9a6c7 to avoid client and server writes at the same time write output to a tmp
file first, and then the tmp file to stdout
the writes had lead to garbled messages that were then interpreted as
errormessages by the scripts


git-svn-id: svn://10.0.0.236/trunk@111369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 21:31:39 +00:00
sonja.mirtitsch%sun.com
8121e60402 fix for enhancemet request 114964
git-svn-id: svn://10.0.0.236/trunk@111332 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 23:58:23 +00:00
sonja.mirtitsch%sun.com
6c78a24a7d fix for bug 73098, need to make other checkins in ssl.sh and don't
want to merge
Ian reviewed the patch


git-svn-id: svn://10.0.0.236/trunk@110468 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 20:02:53 +00:00
sonja.mirtitsch%sun.com
af9922f854 enabling the tls stresstest
git-svn-id: svn://10.0.0.236/trunk@110344 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:15:01 +00:00
sonja.mirtitsch%sun.com
78f6f229de modernized... changed servers, clients, mastebuild, 10 minutes wait now
git-svn-id: svn://10.0.0.236/trunk@108205 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 23:27:20 +00:00
sonja.mirtitsch%sun.com
7a21403394 next try to gat all of the HP problems...
git-svn-id: svn://10.0.0.236/trunk@107125 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 23:47:47 +00:00
sonja.mirtitsch%sun.com
23fff4e9fa put a workaround in place, so client ands server will not write at the
same time
(to avoid lines like: ...Unable to find the certificate
authenticatfailedion...)


git-svn-id: svn://10.0.0.236/trunk@107113 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 19:09:11 +00:00
sonja.mirtitsch%sun.com
85e93f80b9 putting new tests back, since the ciphers have been fixed again
git-svn-id: svn://10.0.0.236/trunk@103954 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:37:46 +00:00
sonja.mirtitsch%sun.com
13d0ceb40b backing out changes until coredump of testclnt is fixed
git-svn-id: svn://10.0.0.236/trunk@103723 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 20:14:20 +00:00
sonja.mirtitsch%sun.com
a2e0f2ad6d added tests of 3 new ciphers in TLS and SSL
git-svn-id: svn://10.0.0.236/trunk@103719 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 16:00:00 +00:00
sonmi%netscape.com
299c5faba1 took out some outdated 3.2 workarounds
put in debug info for sjsu


git-svn-id: svn://10.0.0.236/trunk@102856 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 01:03:07 +00:00
sonmi%netscape.com
b9a1bf76d1 fixed typo
git-svn-id: svn://10.0.0.236/trunk@101735 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 01:11:58 +00:00
sonmi%netscape.com
8e4502355e took hardcoded reference to clio out
git-svn-id: svn://10.0.0.236/trunk@101436 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-20 21:25:56 +00:00
wtc%netscape.com
36859a9198 Bugzilla bug 86528: have tstclnt exit with 254 (= -2 mod 256) where it
was exiting with -2 before so that old test script that expects 254
continues to work.  r=larryh.
Modified Files: tstclnt.c sslauth.txt


git-svn-id: svn://10.0.0.236/trunk@98001 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 00:29:01 +00:00
wtc%netscape.com
ec7187c102 Bugzilla bug #86528: fixed tstclnt so that it always exits with a
nonnegative status.  This way we can correctly extract its exit status on
Windows, so the temporary workaround in ssl.sh can be removed.  Changed
sslauth.txt to match the new exit status of tstclnt.  r=larryh.
Modified files:
   cmd/tstclnt/tstclnt.c tests/ssl/ssl.sh tests/ssl/sslauth.txt


git-svn-id: svn://10.0.0.236/trunk@97867 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 19:53:16 +00:00
sonmi%netscape.com
0cf1828bf9 removed -v option, made client and server write at the same time
git-svn-id: svn://10.0.0.236/trunk@97066 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 17:42:29 +00:00
sonmi%netscape.com
482b7cdcc6 turned on verbose to see where (if) selfserver is dying
git-svn-id: svn://10.0.0.236/trunk@96995 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:29:53 +00:00
sonmi%netscape.com
cd544c5a0d seperated the output of the client and the server to work around
a problem on dump


git-svn-id: svn://10.0.0.236/trunk@95070 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 00:08:05 +00:00