os/ossrv/ssl/tsrc/BC/libcrypto/topenssl/data/testss.txt
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ssl/tsrc/BC/libcrypto/topenssl/data/testss.txt	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +openssl testss(3_50_2_6735) test_log make a certificate request using 'req'
     1.5 +openssl testss(3_50_2_6735) req -config C:/CAss.cnf -out C:/reqCA.ss -keyout C:/keyCA.ss -new
     1.6 +openssl testss(3_50_2_6735) test_log convert the certificate request into a self signed certificate using 'x509'
     1.7 +openssl testss(3_50_2_6735) x509 -sha1 -CAcreateserial -in C:/reqCA.ss -days 30 -req -out C:/certCA.ss -signkey C:/keyCA.ss -extfile C:/CAss.cnf -extensions v3_ca
     1.8 +openssl testss(3_50_2_6735) test_log convert a certificate into a certificate request using 'x509'
     1.9 +openssl testss(3_50_2_6735) x509 -sha1 -in C:/certCA.ss -x509toreq -signkey C:/keyCA.ss -out C:/reqCA.ss2
    1.10 +openssl testss(3_50_2_6735) req -config c:/openssl.cnf -verify -in C:/reqCA.ss -noout
    1.11 +openssl testss(3_50_2_6735) req -config c:/openssl.cnf -verify -in C:/reqCA.ss2 -noout
    1.12 +openssl testss(3_50_2_6735) verify -CAfile C:/certCA.ss C:/certCA.ss
    1.13 +openssl testss(3_50_2_6735) test_log make a user certificate request using 'req'
    1.14 +openssl testss(3_50_2_6735) req -config C:/Uss.cnf -out C:/reqU.ss -keyout C:/keyU.ss -new
    1.15 +openssl testss(3_50_2_6735) test_log sign user certificate request with the just created CA via 'x509'
    1.16 +openssl testss(3_50_2_6735) x509 -sha1 -CAcreateserial -in C:/reqU.ss -days 30 -req -out C:/certU.ss -CA C:/certCA.ss -CAkey C:/keyCA.ss -extfile C:/Uss.cnf -extensions v3_ee
    1.17 +openssl testss(3_50_2_6735) verify -CAfile C:/certCA.ss C:/certU.ss
    1.18 +openssl testss(3_50_2_6735) test_log Certificate details
    1.19 +openssl testss(3_50_2_6735) x509 -sha1 -subject -issuer -startdate -enddate -noout -in C:/certU.ss
    1.20 +openssl testss(3_50_2_6735) test_log make a proxy certificate request using 'req'
    1.21 +openssl testss(3_50_2_6735) req -config C:/P1ss.cnf -out C:/reqP1.ss -keyout C:/keyP1.ss -new
    1.22 +openssl testss(3_50_2_6735) test_log sign proxy certificate request with the just created user certificate via 'x509'
    1.23 +openssl testss(3_50_2_6735) x509 -sha1 -CAcreateserial -in C:/reqP1.ss -days 30 -req -out C:/certP1.ss -CA C:/certU.ss -CAkey C:/keyU.ss -extfile C:/P1ss.cnf -extensions v3_proxy
    1.24 +openssl testss(3_50_2_6735) verify -CAfile C:/certCA.ss -untrusted c:/certU.ss C:/certP1.ss
    1.25 +openssl testss(3_50_2_6735) test_log Certificate details
    1.26 +openssl testss(3_50_2_6735) x509 -sha1 -subject -issuer -startdate -enddate -noout -in C:/certP1.ss
    1.27 +openssl testss(3_50_2_6735) test_log make another proxy certificate request using 'req'
    1.28 +openssl testss(3_50_2_6735) req -config C:/P2ss.cnf -out C:/reqP2.ss -keyout C:/keyP2.ss -new
    1.29 +openssl testss(3_50_2_6735) sign second proxy certificate request with the first proxy certificate via 'x509'
    1.30 +openssl testss(3_50_2_6735) x509 -sha1 -CAcreateserial -in C:/reqP2.ss -days 30 -req -out C:/certP2.ss -CA C:/certP1.ss -CAkey C:/keyP1.ss -extfile C:/P2ss.cnf -extensions v3_proxy
    1.31 +openssl testss(3_50_2_6735) append c:/certU.ss c:/certP1.ss c:/tmp_intP2.ss
    1.32 +openssl testss(3_50_2_6735) verify -CAfile C:/certCA.ss -untrusted c:/tmp_intP2.ss C:/certP2.ss
    1.33 +openssl testss(3_50_2_6735) test_log Certificate details
    1.34 +openssl testss(3_50_2_6735) x509 -sha1 -subject -issuer -startdate -enddate -noout -in C:/certP2.ss
    1.35 +openssl testss(3_50_2_6735) test_log The generated CA certificate is C:/certCA.ss
    1.36 +openssl testss(3_50_2_6735) test_log The generated CA private key is C:/keyCA.ss
    1.37 +openssl testss(3_50_2_6735) test_log The generated user certificate is C:/certU.ss
    1.38 +openssl testss(3_50_2_6735) test_log The generated user private key is C:/keyU.ss
    1.39 +openssl testss(3_50_2_6735) test_log The first generated proxy certificate is C:/certP1.ss
    1.40 +openssl testss(3_50_2_6735) test_log The first generated proxy private key is C:/keyP1.ss
    1.41 +openssl testss(3_50_2_6735) test_log The second generated proxy certificate is C:/certP2.ss
    1.42 +openssl testss(3_50_2_6735) test_log The second generated proxy private key is C:/keyP2.ss
    1.43 +openssl testss(3_50_2_6735) append c:/certCA.ss c:/certU.ss c:/intP1.ss
    1.44 +openssl testss(3_50_2_6735) append c:/intP1.ss C:/certP1.ss C:/intP2.ss
    1.45 \ No newline at end of file