Search code examples
marklogicmlcp

MarkLogic MLCP tool fails to run SSL on port 8000


I am able to open admin/QConsole GUI with SSL on (Secure Sockets Layer). But the MLCP fails to run on port 8000 with SSL on. I have to turn off SSL in order for the MLCP to work.

How can I setup MLCP to work with SSL?

I am currently using Marklogic version 8.0-7 and mlcp-8.0-5.


Solution

  • With version 9, MLCP has options available to enable SSL:

    Configuring mlcp to Use SSL

    By default, mlcp does not connect to MarkLogic using SSL. Use one of the following options to specify that mlcp should connect via SSL:

    mlcp Command
    import
    export
    copy
    Command Line Option
    -ssl
    -ssl
    -input_ssl and/or -output_ssl
    For more information
    Import Command Line Options
    Export Command Line Options
    Copy Command Line Options

    All these options accept a boolean argument value. As described in Command Line Summary, 'true' is assumed if you leave the argument off.