SSLConnect begin an TLS connection

Return to Introduction  Previous page  Next page

SSLConnect({TLSv1 | TLSv1.1 | TLSv1.2 | $variable})

Where:

 
TLSv1is TLS version 1.0.
TLSv1.1is TLS version 1.1.
TLSv1.2is TLS version 1.2.
$variableis a variable. The text defined for the variable is substituted for the variable name and used as the command parameter.        

 

Use the SSLConnect command to begin a TLS connection when the host computer resides behind a proxy server or firewall.

 

If the host is behind a proxy server and a TLS connection is required then the connection must be made using a script instead of specifying TLS in the Host pane of the Session Setup dialog box. The reason for this is that if the TLS connection is made in the normal manner (using the radio buttons in the Host pane of the Session Setup dialog box) then the TLS handshake will take place with the proxy server instead of the host. Insert the SSLConnect command at the appropriate place in the script to cause the TLS connection to be made.

Examples

SSLConnect(TLSv1)

SSLConnect(TLSv1.1)

SSLConnect(TLSv1.2)

Sample Script

' The following is a sample using the SSLConnect command

'

' Proxy Server login

WaitFor(username)

type(john)

key(enter)

WaitFor(password)

type(smith)

key(enter)

 

' Login complete, connect to host

waitfor("Login complete")

type(connect 127.0.0.1)

key(enter)

 

' Initiate TLS handshaking

SSLConnect(TLSv1)

 

See Also:

 

Script Command Summary

Script Variables

Using the Scripting Language


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.