path: root/src
diff options
authordave.sudlik <dave.sudlik>2005-08-19 20:39:51 +0000
committerdave.sudlik <dave.sudlik>2005-08-19 20:39:51 +0000
commit37c605b78435656d07a4749fc8d3000dab4786df (patch)
tree02c7bf33b2592baace52308d42fa214937072ed5 /src
parent2e5d48f220d45a1d1186dad53b36ba56cb9d8210 (diff)
BUG#: 4081
TITLE: run_SSL_TS1 DESCRIPTION: As recommended by Heather, and agreed to on the 8/19 Arch call, I am restoring src/Clients/ssltrustmgr/tests/Makefile to its previous (1.13) version. I verified the restored Makefile on 0.9.7a and 0.9.7d of OpenSSL. This will allow the nightly tests to run (since they don't use more recent versions of OpenSSL) until a common way can be found to run the tests on all OpenSSL releases. This bug will remain open to track that fix.
Diffstat (limited to 'src')
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Clients/ssltrustmgr/tests/Makefile b/src/Clients/ssltrustmgr/tests/Makefile
index d95a58e..931257b 100644
--- a/src/Clients/ssltrustmgr/tests/Makefile
+++ b/src/Clients/ssltrustmgr/tests/Makefile
@@ -60,7 +60,6 @@ clean:
@$(RM) index.txt.attr
@$(RM) index.txt.old
@$(RM) .rnd
- @$(RM) $(PEGASUS_HOME)/ca.crl
# Create certificates and CRLs required for running the tests
@@ -73,34 +72,33 @@ ifdef PEGASUS_HAS_SSL
@$(OPENSSL_COMMAND) genrsa -out $(PEGASUS_HOME)/testdn1.key 1024
@$(OPENSSL_COMMAND) req -config $(OPENSSL_CNF) -new -key $(PEGASUS_HOME)/testdn1.key -out $(PEGASUS_HOME)/testdn1.csr < testdn1.txt
- @$(OPENSSL_COMMAND) x509 -in $(PEGASUS_HOME)/testdn1.csr -out $(PEGASUS_HOME)/testdn1.cert -req -signkey $(PEGASUS_HOME)/testdn1.key -days 356 -set_serial 00
+ @$(OPENSSL_COMMAND) x509 -in $(PEGASUS_HOME)/testdn1.csr -out $(PEGASUS_HOME)/testdn1.cert -req -signkey $(PEGASUS_HOME)/testdn1.key -days 356
@$(RM) $(PEGASUS_HOME)/testdn1.csr
@# Create a self-signed CA
- @$(ECHO) "00" > $(PEGASUS_HOME)/
@$(OPENSSL_COMMAND) genrsa -out $(PEGASUS_HOME)/testca1.key 1024
- @$(OPENSSL_COMMAND) req -new -key $(PEGASUS_HOME)/testca1.key -x509 -config $(OPENSSL_CNF) -set_serial 00 -days 365 -out $(PEGASUS_HOME)/testca1.cert < testca1.txt
+ @$(OPENSSL_COMMAND) req -new -key $(PEGASUS_HOME)/testca1.key -x509 -config $(OPENSSL_CNF) -days 365 -out $(PEGASUS_HOME)/testca1.cert < testca1.txt
@# Create a certificate signed by the CA
@$(OPENSSL_COMMAND) genrsa -out $(PEGASUS_HOME)/testdn2.key 1024
@$(OPENSSL_COMMAND) req -config $(OPENSSL_CNF) -new -key $(PEGASUS_HOME)/testdn2.key -out $(PEGASUS_HOME)/testdn2.csr < testdn2.txt
- @$(OPENSSL_COMMAND) x509 -req -days 365 -in $(PEGASUS_HOME)/testdn2.csr -CA $(PEGASUS_HOME)/testca1.cert -CAkey $(PEGASUS_HOME)/testca1.key -CAserial $(PEGASUS_HOME)/ -out $(PEGASUS_HOME)/testdn2.cert
+ @$(OPENSSL_COMMAND) x509 -req -days 365 -in $(PEGASUS_HOME)/testdn2.csr -CA $(PEGASUS_HOME)/testca1.cert -CAkey $(PEGASUS_HOME)/testca1.key -CAcreateserial -out $(PEGASUS_HOME)/testdn2.cert
@$(RM) $(PEGASUS_HOME)/testdn2.csr
@# Create a second test certificate signed by the CA
@$(OPENSSL_COMMAND) genrsa -out $(PEGASUS_HOME)/testdn3.key 1024
@$(OPENSSL_COMMAND) req -config $(OPENSSL_CNF) -new -key $(PEGASUS_HOME)/testdn3.key -out $(PEGASUS_HOME)/testdn3.csr < testdn3.txt
- @$(OPENSSL_COMMAND) x509 -req -days 365 -in $(PEGASUS_HOME)/testdn3.csr -CA $(PEGASUS_HOME)/testca1.cert -CAkey $(PEGASUS_HOME)/testca1.key -CAserial $(PEGASUS_HOME)/ -out $(PEGASUS_HOME)/testdn3.cert
+ @$(OPENSSL_COMMAND) x509 -req -days 365 -in $(PEGASUS_HOME)/testdn3.csr -CA $(PEGASUS_HOME)/testca1.cert -CAkey $(PEGASUS_HOME)/testca1.key -CAcreateserial -out $(PEGASUS_HOME)/testdn3.cert
@$(RM) $(PEGASUS_HOME)/testdn3.csr
@# Create a third test certificate signed by the CA
@$(OPENSSL_COMMAND) genrsa -out $(PEGASUS_HOME)/testdn4.key 1024
@$(OPENSSL_COMMAND) req -config $(OPENSSL_CNF) -new -key $(PEGASUS_HOME)/testdn4.key -out $(PEGASUS_HOME)/testdn4.csr < testdn4.txt
- @$(OPENSSL_COMMAND) x509 -req -days 365 -in $(PEGASUS_HOME)/testdn4.csr -CA $(PEGASUS_HOME)/testca1.cert -CAkey $(PEGASUS_HOME)/testca1.key -CAserial $(PEGASUS_HOME)/ -out $(PEGASUS_HOME)/testdn4.cert
+ @$(OPENSSL_COMMAND) x509 -req -days 365 -in $(PEGASUS_HOME)/testdn4.csr -CA $(PEGASUS_HOME)/testca1.cert -CAkey $(PEGASUS_HOME)/testca1.key -CAcreateserial -out $(PEGASUS_HOME)/testdn4.cert
@$(RM) $(PEGASUS_HOME)/testdn4.csr
@# Create a CRL issued by the test CA and revoke a certificate