stardog --server https://localhost:5820 server status
running the above I am getting this error:
$ ./stardog --server https://localhost:5821 server status
Unknown command --server
The detailed stack trace for the error is:
java.lang.UnsupportedOperationException: Unknown command --server
at io.airlift.command.Help.help(Help.java:130)
at io.airlift.command.Help.help(Help.java:59)
at io.airlift.command.Help.run(Help.java:34)
at io.airlift.command.Help.call(Help.java:40)
at io.airlift.command.Help.call(Help.java:18)
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56)
at com.complexible.stardog.cli.CLI.main(CLI.java:121)
The command in the docs has a typo, which we will be sure to fix. The actual command is stardog-admin --server https://localhost:5820 server status. Note that if you are actually running on localhost you don't need the --server argument.
/etc/stardog.env.sh is only applicable to the server side of Stardog, which is where you would set the keystore through STARDOG_SERVER_JAVA_ARGS.
On the client side, you need to set the _trust_store via STARDOG_JAVA_ARGS in the CLI environment that you're using to connect. It's a very small but important distinction.