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

📄 result.master.windows

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 WINDOWS
📖 第 1 页 / 共 2 页
字号:
+++++++++ Command line testing +++++++++Add the authority certificate to the truststore.Certificate added successfully.Duplicate list option.cimtrust: duplicate "-l" optionUse '--help' to obtain command syntax.No command line options specified.cimtrust: Required arguments missing.Use '--help' to obtain command syntax.Invalid command line options specified.cimtrust: Required arguments missing.Use '--help' to obtain command syntax.Invalid command line options specified.cimtrust: argument "nosuchoption" was unexpectedUse '--help' to obtain command syntax.Help option.Usage: cimtrust -a [ -U certuser ] -f certfile -T ( a | e | s )        cimtrust -r -i issuer ( -n serialnumber | -S subject )       cimtrust -l [ -i issuer [ -n serialnumber | -S subject ] ]       cimtrust --version       cimtrust --helpOptions :     -a              - Adds the specified certificate to the trust store    -r              - Removes the specified certificate from the trust store    -l              - Displays the certificates in the trust store    -f certfile     - Specifies the PEM format file containing an X509 certificate    -U certuser     - Specifies the user name to be associated with the certificate    -T type         - Specifies the certificate type    -i issuer       - Specifies the certificate issuer name    -n serialnumber - Specifies the certificate serial number    -S subject      - Specifies the certificate subject    --help          - Display this help message    --version       - Display CIM Server version numberUsage note: The cimtrust command requires that the CIM Server is running.Duplicate help option.cimtrust: option "-help" was unexpectedUse '--help' to obtain command syntax.Duplicate version option.cimtrust: option "-version" was unexpectedUse '--help' to obtain command syntax.Duplicate -a option.cimtrust: duplicate "-a" optionUse '--help' to obtain command syntax.Duplicate -f option.cimtrust: duplicate "-f" optionUse '--help' to obtain command syntax.Duplicate -U option.cimtrust: duplicate "-U" optionUse '--help' to obtain command syntax.Duplicate -T option.cimtrust: duplicate "-T" optionUse '--help' to obtain command syntax.Invalid -T option.cimtrust: argument "f" is not valid for option "-T"Use '--help' to obtain command syntax.Required option missing, type option not specified.cimtrust: the "-T" option is requiredUse '--help' to obtain command syntax.Missing argument for -T option.cimtrust: Missing required value for flag TUse '--help' to obtain command syntax.Missing certuser for -T s option.cimtrust: the "-U" option is requiredUse '--help' to obtain command syntax.Missing certuser for -T e option.cimtrust: the "-U" option is requiredUse '--help' to obtain command syntax.Required option missing, certfile not specified.cimtrust: the "-f" option is requiredUse '--help' to obtain command syntax.Required option missing, certfile value not specified.cimtrust: Missing required value for flag fUse '--help' to obtain command syntax.Duplicate -r option.cimtrust: duplicate "-r" optionUse '--help' to obtain command syntax.Missing option issuerName.cimtrust: the "-i" option is requiredUse '--help' to obtain command syntax.Missing value for serial number.cimtrust: Missing required value for flag nUse '--help' to obtain command syntax.Duplicate option, issuer specified twice.cimtrust: duplicate "-i" optionUse '--help' to obtain command syntax.Duplicate option, serial number specified twice.cimtrust: duplicate "-n" optionUse '--help' to obtain command syntax.Duplicate option, subject specified twice.cimtrust: duplicate "-S" optionUse '--help' to obtain command syntax.Invalid remove option, incorrect serial number.Failed to remove certificate.Specified certificate does not exist.CIM_ERR_NOT_FOUND: The requested object could not be found: "The certificate does not exist."Invalid remove option, incorrect subject.Failed to remove certificate.Specified certificate does not exist.CIM_ERR_NOT_FOUND: The requested object could not be found: "The certificate does not exist."Required option missing, issuer not specified.cimtrust: the "-i" option is requiredUse '--help' to obtain command syntax.Required option missing, issuer value not specified.cimtrust: Missing required value for flag iUse '--help' to obtain command syntax.Required option missing, serial number not specified.cimtrust: Required arguments missing.Use '--help' to obtain command syntax.Unexpected option, combine remove and certfile.cimtrust: option "-f" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine subject and serial number.cimtrust: option "-n" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine serial number and subject.cimtrust: option "-S" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine remove and certuser.cimtrust: option "-U" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine add and help.cimtrust: option "-help" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine remove and help.cimtrust: option "-help" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine list and help.cimtrust: option "-help" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine add and help.cimtrust: option "-a" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine remove and help.cimtrust: option "-r" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine list and help.cimtrust: option "-l" was unexpectedUse '--help' to obtain command syntax.Unexpected option, combine version and help.cimtrust: option "-help" was unexpectedUse '--help' to obtain command syntax.Invalid option, invalid system user.Specified user is not a valid system user.Invalid option, Duplicate cert user.cimtrust: duplicate "-U" optionUse '--help' to obtain command syntax.Invalid option, -x.cimtrust: Unknown flag -xUse '--help' to obtain command syntax.Command-line tests complete, remove the CA certificate from the truststore, this should succeed.Certificate removed successfully.+++++++++ Functional tests - Add operation testing +++++++++Add a certificate file that contains more than one certificate, this should error out.Failed to add certificate.CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Specified certificate file contains more than one certificate."Add the self-signed certificate to the truststore.Certificate added successfully.Try to connect, this should succeed.TestCertClient::Connecting to 127.0.0.1:5989Result: CIM_ComputerSystem+++++ TestCertClient Terminated NormallyAdd the month1 self-signed certificate to the truststore.Certificate added successfully.Add the month2 self-signed certificate to the truststore.Certificate added successfully.Add the month3 self-signed certificate to the truststore.Certificate added successfully.Add the month4 self-signed certificate to the truststore.Certificate added successfully.Add the month5 self-signed certificate to the truststore.Certificate added successfully.Add the month6 self-signed certificate to the truststore.Certificate added successfully.Add the month7 self-signed certificate to the truststore.Certificate added successfully.Add the month8 self-signed certificate to the truststore.Certificate added successfully.Add the month9 self-signed certificate to the truststore.Certificate added successfully.Add the month10 self-signed certificate to the truststore.Certificate added successfully.Add the month11 self-signed certificate to the truststore.Certificate added successfully.Add the month12 self-signed certificate to the truststore.Certificate added successfully.List the Certificates, should all succeed.Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-JanSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-JanRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Jan 10, 2005  0:00:00 (00000)    NotAfter : Jan 8, 2015  0:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-FebSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-FebRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Feb 2, 2005  20:00:00 (00000)    NotAfter : Jan 31, 2015  20:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-MarSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-MarRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Mar 3, 2005  0:00:00 (00000)    NotAfter : Mar 1, 2015  0:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-AprSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-AprRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Apr 4, 2005  0:00:00 (00000)    NotAfter : Dec 27, 2017  0:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-MaySerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-MayRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: May 5, 2005  0:00:00 (00000)    NotAfter : Jan 27, 2018  0:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-JunSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-JunRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Jun 6, 2005  0:00:00 (00000)    NotAfter : Feb 28, 2018  0:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-JulSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-JulRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Jul 7, 2005  0:00:00 (00000)    NotAfter : Mar 31, 2018  0:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-AugSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-AugRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Aug 8, 2005  20:00:00 (00000)    NotAfter : May 2, 2018  20:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-SeptSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-SeptRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Sep 9, 2005  20:00:00 (00000)    NotAfter : Jun 3, 2018  20:00:00 (00000)---------------------------------------------Issuer: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-OctSerial Number: 0Subject: /C=US/ST=VIRGINIA/L=Fairfax/O=OpenGroup/OU=OpenPegasus/CN=TestSelfSigned1-OctRegistered User Name: AdministratorType: Self-signed identityValidity:    NotBefore: Oct 9, 2005  20:00:00 (00000)    NotAfter : Jul 3, 2018  20:00:00 (00000)---------------------------------------------

⌨️ 快捷键说明

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