Cisco Cisco Email Security Appliance C160 Références techniques

Page de 316
94
C I S C O   I R O N P O R T   A S Y N C O S   7 . 3   C L I   R E F E R E N C E   G U I D E
Batch Format
The batch format of the 
tlsverify
 command can be used to perform all the fuctions of the 
traditional CLI command to check the TLS connection to the given hostname.
Example
trace
Description
Trace the flow of a message through the system
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format.
tlsverify <domain> <hostname>[:<port>]
Code Example 3-59 tlsverify
mail3.example.com> tlsverify
Enter the TLS domain to verify against:
[]> example.com
Enter the destination host to connect to.  Append the port 
(example.com:26) if you are not connecting on port 25:
[example.com]> mxe.example.com:25
Connecting to 1.1.1.1 on port 25.
Connected to 1.1.1.1 from interface 10.10.10.10.
Checking TLS connection.
TLS connection established: protocol TLSv1, cipher RC4-SHA.
Verifying peer certificate.
Verifying certificate common name mxe.example.com.
TLS certificate match mxe.example.com
TLS certificate verified.
TLS connection to 1.1.1.1 succeeded.
TLS successfully connected to mxe.example.com.
TLS verification completed.