HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 44

Using SSL, Setting the TPDSOCKSSL Environment Variable on Solaris and Linux, Using the -sockssl Option

Page 44 highlights

Using SSL The HP 3PAR OS provides a Secure Sockets Layer (SSL) protocol for secure transfer of data between the CLI client and system, and is set with either of the following: • The TPDSOCKSSL environment variable. • The -sockssl global option. NOTE: This is the default behavior. TPDSOCKSSL and -sockssl are present for compatibility. The -nosockssl option overrides this behavior. The HP 3PAR CLI uses port number 5783 for secure communications and port 5782 for unsecured communications. When the TPDSOCKSSL environment variable or -sockssl global option is set, the socket port defaults to 5783. Setting the TPDSOCKSSL Environment Variable on Solaris and Linux To set the TPDSOCKSSL environment variable in Solaris and Linux, see the following system output example: $ TPDSOCKSSL=1 $ export TPDSOCKSSL $ cli Setting the TPDSOCKSSL Environment Variable on Windows To set the TPDSOCKSSL environment variable in Windows: 1. On the taskbar, click the Start→Settings→Control Panel. 2. In Control Panel, double-click the System icon. 3. In the System Properties dialog box, click the Advanced tab. 4. Click Environment Variables. 5. Enter TPDSOCKSSL in the Variable box. 6. Enter 1 in the Value box. 7. Click OK. Using the -sockssl Option A secure CLI connection is also available for single instances of a command. On the command line, enter -sockssl following the command name. See the following output example: $ createuser -sockssl Setting the CLI Client Network Port The HP 3PAR CLI client attempts to communicate with the CLI server on the system TCP port number 5783 for secure communications, and on port number 5782 for unsecure communications. The default port used for data transfer is port 5782. If you wish to use another port for data transfer, you can manually set the port that the CLI client will attempt to connect to as follows: % cli -tpdportnum In the example above, replace with the port number you wish to use. 44 Running the HP 3PAR Command Line Interface

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

Using SSL
The HP 3PAR OS provides a Secure Sockets Layer (SSL) protocol for secure transfer of data between
the CLI client and system, and is set with either of the following:
The TPDSOCKSSL environment variable.
The
-sockssl
global option.
NOTE:
This is the default behavior. TPDSOCKSSL and
-sockssl
are present for compatibility.
The
-nosockssl
option overrides this behavior.
The HP 3PAR CLI uses port number 5783 for secure communications and port 5782 for unsecured
communications. When the TPDSOCKSSL environment variable or
-sockssl
global option is set,
the socket port defaults to 5783.
Setting the TPDSOCKSSL Environment Variable on Solaris and Linux
To set the TPDSOCKSSL environment variable in Solaris and Linux, see the following system output
example:
$ TPDSOCKSSL=1
$ export TPDSOCKSSL
$ cli
Setting the TPDSOCKSSL Environment Variable on Windows
To set the TPDSOCKSSL environment variable in Windows:
1.
On the taskbar, click the
Start
Settings
Control Panel
.
2.
In
Control Panel
, double-click the
System
icon.
3.
In the
System Properties
dialog box, click the
Advanced
tab.
4.
Click
Environment Variables
.
5.
Enter
TPDSOCKSSL
in the
Variable
box.
6.
Enter
1
in the
Value
box.
7.
Click
OK
.
Using the -sockssl Option
A secure CLI connection is also available for single instances of a command. On the command
line, enter
sockssl
following the command name. See the following output example:
$ createuser
sockssl
Setting the CLI Client Network Port
The HP 3PAR CLI client attempts to communicate with the CLI server on the system TCP port number
5783 for secure communications, and on port number 5782 for unsecure communications. The
default port used for data transfer is port
5782
. If you wish to use another port for data transfer,
you can manually set the port that the CLI client will attempt to connect to as follows:
% cli -tpdportnum <port_number>
In the example above, replace
<port_number>
with the port number you wish to use.
44
Running the HP 3PAR Command Line Interface