mindtouch.deki.verify

    The mindtouch.deki.verify command line tool verifies the license of a MindTouch Deki site.  The tool runs in .NET/Mono on all platforms.

    Running the tool without any command line options prints the usage instructions.

    MindTouch Deki Verify, Copyright (c) 2008 MindTouch, Inc.
    USAGE: mindtouch.deki.verify.exe options server-uri
        --verbose               Show additional information during validation
        --allow-invalid-ssl     Allow server uri to have an invalid SSL certificate
        server-uri              MindTouch Deki server uri
    

    Status Codes

    The tool attempts to connect to the provided server and retrieve the MindTouch Deki license. The exit status code and message printed to the console convey the outcome of the verification.

    An exit status code of 0 (zero) means the tool successfully verified the license of the MindTouch Deki site.  A positive exit status code indicates that the verification failed, because of an error encountered during verification.  A negative exit status code indicates that the tool failed due to an invalid command line option or internal runtime error.

    Status 0 - Valid License

    The license returned by the server has a valid digital signature, is either a commercial or trial license, has not yet expired, and the host name used to connect to the server was matched in against one of the host names or IP addresses in the license.

    The server license is valid.
    

    Status 1 - Invalid License Signature

    The digital signature of the license returned by the server is not valid.

    Server license validation failed. The license signature is not valid.
    

    Status 2 - Invalid License Type

    The license returned by the server is neither a commercial, nor a trial license.

    Server license type must be either 'commercial' or 'trial' instead of '{0}'.
    

    {0} - the type of the retrieved license

    Status 3 - Expired License

    The license returned by the server has expired.

    Server license expired on {0}.

    {0} - the expiration date-time in GMT of the retrieved license

    Status 4 - Invalid Host Name or IP Address

    The host name or IP address used to connect to the server does not match any of the host names or IP addresses listed in the license returned by the server.  The check also resolves the host name to an IP address and verifies if either are listed in the license.

    Server host name '{0}' does not match any of the licensed host name(s): {1}
    

    {0} - the host name or IP address used to connect to the server

    {1} - a comma separated list of host names and IP addresses listed in the retrieved license

    Status 5 - Invalid Server URI

    The supplied hostname/URI could not be parsed.

    Server URI '{0}' is not valid.
    

    {0} - the hostname/URI supplied to mindtoch.deki.verify.exe

    Status 6 - Invalid License Document

    The server responds with an XML document, but the root element of the XML document is not <license.public>:

    Server returned an invalid license document. Expected <license.public>, but received <{0}>.
    

    {0} - the XML document root element name returned by the server

    Status 7: - No License Found

    This status is returned if the tool was able to connect to the server, but did not get back a successful response.

    If the server responds with either 405 Method Not Allowed or 404 Not Found:

    Server did not return license information for '{0}'.
    

    {0} - the host name or IP address used to connect to the server

     

    If the server responds with 500 Service Unavailable:

    Server at '{0}' appears to be down.
    

    {0} - the host name or IP address used to connect to the server

    Status 8 - Invalid Server Response

    This status is returned if the tool was able to connect to the server, but did not get back a successful response or one of the expected failure messages (see Status 7 - No License Found).

    The server response does not have application/xml as MIME type:

    Server returned an invalid license document. Expected application/xml, but received {0}.
    

    {0} - the MIME type of the response received from the server

     

    The server responds with an unexpected failure code (neither 405 Method Not Allowed or 404 Not Found):

    An error occurred while attempting to connect to '{0}'. {2} (status {1}).
    

    {0} - the host name or IP address used to connect to the server

    {1} - the HTTP status of the response received from the server

    {2} - the contents of the response received from the server

    Status -1 - Invalid or Missing Command Line Options

    The tool did not recognize one of the command line options or the command line option are missing.

    If an option was not recognized:

    ERROR: unknown command line option '{0}'

    {0} - the unrecognized command line option

     

    If the command line options are missing:

    MindTouch Deki Verify, Copyright (c) 2008 MindTouch, Inc.
    USAGE: mindtouch.deki.verify.exe options server-uri
        --verbose               Show additional information during validation
        --allow-invalid-ssl     Allow server uri to have an invalid SSL certificate
        server-uri              MindTouch Deki server uri

    Status -2 - Unexpected Error

    An unexpected error occurred.

    UNEXPECTED ERROR: {0}
    

    {0} - the contents of the unexpected .NET exception that was thrown

    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by