ck remote enable
Enables remote HTTPS connections on CanKingService and restarts the service.
Synopsis
ck remote enable
[--url <String>]
[--api-key <String>]
[--language <en|zh|ja>]
--cert-path <String>
[--cert-password <String>]
[--port <Int32>]
--service-api-key <String>
[--filesystem-root <String>]
ck remote enable -h|--help
Options
--url
Specify the URL of the CanKingService if connecting to a remote host. Falls back to the CANKING_REMOTE_URL environment variable. If not specified, the command will connect to a local CanKingService instance.--api-key
API key required when connecting to a remote CanKingService instance. Falls back to the CANKING_REMOTE_API_KEY environment variable.--language
Specify the preferred language to be used in all output strings. Default value is English (en). Supported languages are English (en), Chinese (zh), and Japanese (ja).--cert-path(required)
Path to the PKCS#12/PFX certificate file on the service host.--cert-password
Password for the PFX certificate file.--port
Port for the remote HTTPS listener.--service-api-key(required)
Mandatory shared secret that remote clients must supply in the ‘x-api-key’ header.--filesystem-root
Restrict the file system browser to this directory and its descendants. It defaults to ‘/usr/share/Kvaser/CanKing/shared-files’ on Linux and to ‘C:\ProgramData\Kvaser\CanKing\shared-files’ on Windows.
Examples
ck remote enable --cert-path /etc/canking/canking.pfx --service-api-key my-api-key
ck remote enable --cert-path /etc/canking/canking.pfx --cert-password MySecret --port 36701 --service-api-key my-api-key
ck remote enable --cert-path /etc/canking/canking.pfx --filesystem-root /srv/canking/data --service-api-key my-api-key