chproxy

Use the chproxy command to update the system-wide web proxy server configuration.

Syntax

Read syntax diagramSkip visual syntax diagram chproxy -urlproxy_url-portport_number-usernameproxy_user-passwordproxy_password-nousername-sslcertcertificate_file-nosslcert

Parameters

-url proxy_url
(Optional) Specifies the proxy server URL with a protocol prefix in fully qualified domain name format.
-port port_number
(Optional) Specifies the proxy server port number. The value must be an integer (1-65535).
-username proxy_user
(Optional) Specifies the basic authentication username. The username cannot start or end with a blank. The username can consist of a string of 1 - 64 ASCII characters except for the following characters % : " , * '.
-password proxy_password
(Optional) Specifies the basic authentication user password. The password cannot start or end with a blank. It must consist of a string of 6 - 64 printable ASCII characters. Do not specify the -password parameter if you want to have an empty password.
-nousername
(Optional) Specifies the removal of the user name and password values.
-sslcert certificate_file
(Optional) Specifies the certificate file path and file name for the proxy server.
-nosslcert
(Optional) Specifies the removal of the certificate file.

Description

This command updates a system proxy server configuration.

Invocation examples

chproxy -username puffin

chproxy -nosslcert

chproxy -nousername

chproxy -url http://654321 -port 8080
CMMVC6523E The URL that you have entered is not valid. 

chproxy -port XYZ
CMMVC5706E An invalid argument has been entered for the [port] parameter.

chproxy -sslcert /upgrade/no-such-file.txt
CMMVC8031E file not found.

chproxy -sslcert /upgrade/not-a-cert.txt
CMMVC8794E Invalid certificate file.

The resulting output:

No feedback