configwsmTLS

Use the
configwsmTLS
command on the
FactoryTalk Activation Manager
server to configure the certificate public key file (.cer), web socket port number, authentication endpoint, and port that will be used to secure the connectino between clients and the
FactoryTalk Activation Manager
Websocket Service.
These options are required:
  • -w, --websocket
  • -c, --certfile
  • -p, --wssport
  • -ap, --authendpoint
  • -ae, --authport
Usage: configwsmTLS -w enable -c "C:\Certificates\certfile.cer" -p 5555 -ae "https://example.com" -ap 443
This table describes the command options.
Option
Description
-v|--verbose
Use this option to turn on trace messaging.
Example: "-v"
-w|--websocket
Enable or disable the Websocket Service.
Allowed values: "enable" or "disable".
Example: "-w enable"
-c|--certfile
Configure the Websocket Service to use the specified certificate exported public key file.
Expected value: String, full path and file name.
Example: "-c C:\Certificates\certfile.cer"
-p|--wssport
Configure the Websocket Service to listen on the given port number.
Allowed values: Number between 1 and 65535.
Example: "-p 5555"
-ae|--authendpoint
Configure the Websocket Service to fetch an authentication token from a FactoryTalk Web Service.
Expected value: String, fully qualified domain name and URL.
Example: "-ae https://example.com/endpoint"
-ap|--authport
Configure the port number of the FactoryTalk Web Service endpoint.
Expected value: Number between 1 and 65535.
Example: "-ap 443"
-s|--status
Output the status of the Websocket Service.
Example: "-s"
-r|--restart
Enable and start, or restart the Websocket Service if currently running. This also applies any recent configuration changes.
Example: "-r"
-?|-h|--help
Show help information.
Example: "-h"
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal