⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻
📖 第 1 页 / 共 2 页
字号:
	@$(ECHO) "Try to connect with the 1st certificate issued by the CA, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert2.cert $(PEGASUS_HOME)/testcert2.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 2nd certificate issued by the CA, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert3.cert $(PEGASUS_HOME)/testcert3.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 3rd certificate issued by the CA, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert4.cert $(PEGASUS_HOME)/testcert4.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Add the CA CRL to the truststore" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testca1.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "List the CRL." >> $(RESULTFILE)	@cimcrl -l >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 1st certificate, this should fail" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert2.cert $(PEGASUS_HOME)/testcert2.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 2nd certificate, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert3.cert $(PEGASUS_HOME)/testcert3.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 3rd certificate issued by the CA, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert4.cert $(PEGASUS_HOME)/testcert4.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Add the updated CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testca2.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "List the by non-existant issuer." >> $(RESULTFILE)	@cimcrl -l -i abcd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Try to connect with the 1st certificate, this should fail" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert2.cert $(PEGASUS_HOME)/testcert2.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 2nd certificate, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert3.cert $(PEGASUS_HOME)/testcert3.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 3rd certificate, this should fail" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert4.cert $(PEGASUS_HOME)/testcert4.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Remove the CA CRL certificate" >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 1st certificate, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert2.cert $(PEGASUS_HOME)/testcert2.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 2nd certificate, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert3.cert $(PEGASUS_HOME)/testcert3.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 3rd certificate, this should succeed" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert4.cert $(PEGASUS_HOME)/testcert4.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "Remove the CA CRL that we just removed, this should get a DNE error" >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Remove the CA certificate from the truststore to clean everything up, this should succeed" >> $(RESULTFILE)	@cimtrust -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA -n 0 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 1st certificate issued by the CA, this should fail" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert2.cert $(PEGASUS_HOME)/testcert2.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 2nd certificate issued by the CA, this should fail" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert3.cert $(PEGASUS_HOME)/testcert3.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)		@$(ECHO) "Try to connect with the 3rd certificate issued by the CA, this should fail" >> $(RESULTFILE)	@TestCertClient $(PEGASUS_HOME)/testcert4.cert $(PEGASUS_HOME)/testcert4.key $(PEGASUS_HOME)/ssl.rnd >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)			@$(ECHO) "Add Jan month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth1.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Feb month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth2.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Mar month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth3.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Apr month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth4.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add May month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth5.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add June month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth6.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add July month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth7.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Aug month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth8.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Sept month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth9.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Oct month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth10.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Nov month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth11.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       		@$(ECHO) "Add Dec month CA CRL to the truststore, this should succeed" >> $(RESULTFILE)	@cimcrl -a -f $(PEGASUS_HOME)/testmonth12.crl >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	 	@$(ECHO) "List the updated CRL by issuer." >> $(RESULTFILE)	@cimcrl -l -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       	 	@$(ECHO) "Remove CRL by issuer." >> $(RESULTFILE)	@cimcrl -r -i /C=US/ST=WASHINGTON/L=Seattle/O=OpenGroup/OU=OpenPegasus/CN=TestCA >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)       ifndef PEGASUS_PAM_AUTHENTICATION    ifneq ($(OS), zos)	cimuser -r -u $(CURRENT_USER)    endifendif	@$(ECHO) ++++cimcrl tests completedendifdepend:general:strip-license:prepend-license:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -