connect to Server
connect [server_url] [{admin|user_name password}]
Connect to the server. If you provide a user name, a password is required.
Any administrator can connect. An administrator is either the admin user, any user in the $admin
group, or any user that has administrator permissions enabled. See the Enterprise Message Service documentation, User's Guide, " Administrator Permissions".
server_url
server_url is usually in the form:
protocol://host-name:port-number username password
for example:
tcp://myhost:7222 user1 password
The protocol can be tcp
or ssl
via Transport Layer Security (TLS).
Connecting via TLS
Connecting via TLS requires TLS parameters. See the Enterprise Message Service documentation, User's Guide sections that follow:
-
Fault Tolerance Parameters
-
TLS Server Parameters
-
Configure TLS in the Server
-
Specify Cipher Suites
For TLS passwords, you can provide a password file or use the ssl_password
option.
-
Use the
ssl_pwdfile
option to provide a password file. See the Enterprise Message Service documentation, User's Guide, "Options for tibemsadmin" topic. -
Use the the
ssl_password
option to specify the ssl password. Always use unmangled passwords. See the Enterprise Message Service documentation, User's Guide, "ssl_password" section.
ssl_key
and ssl_identity
properties at the same time. EMS allows only one at a time. Also see disconnect from Server.