Zebra Technologies P1071336-002 manual When Http Authentication is Necessary

Page 33

Configuring Printers with WebLink

Configuring Weblink

The proxy server port (optional)

The username and password for the proxy (optional)

To supply the address of the proxy server (assuming a default port and no username/password), configure the proxy setting as follows:

! U1 setvar "weblink.ip.conn1.proxy" "https://my.internal.proxy/"

In this scenario, the proxy address is my.internal.proxy and the scheme is HTTPS. The default port (1080) will be used. No username or password will be used to authenticate with the proxy.

To specify an alternate port, configure the proxy as follows:

! U1 setvar "weblink.ip.conn1.proxy" "https://my.internal.proxy:3128/"

To specify a username and password configure the proxy as follows:

! U1 setvar "weblink.ip.conn1.proxy" "https://user:pass@my.internal.proxy/"

The proxy username, password, and the rest of the URL must follow the rules specified in RFC3986 (http://www.ietf.org/rfc/rfc3986.txt).

33

When HTTP Authentication is Necessary

Use this configuration when, for example, a firewall requires a username and/or password.

It may be necessary to specify a username and password to various routers and servers along the path to the remote server. Typically, when using a browser to access the server, the authentication request will be presented in the form of a dialog window that asks for the username and password.

Because the printer’s connection to the remote server is headless and non-interactive, the Weblink configuration allows a user to enter in a server name/username/password triplet. The triplet will be used in the event that the printer is presented with an authentication request (for example, this typically is requested via the HTTP/1.1 401 Unauthorized request).

To specify authentication credentials, issue the following:

!U1 setvar "weblink.ip.conn1.authentication.add" "servername.com username password"

In this scenario, the server requesting authentication is servername.com. The username and password to be supplied are ‘username’ and ‘password’. The server name can be either a DNS name or an IP address. The username and password cannot be retrieved from SGD, SNMP, or JSON once added. Only the server name will be returned.

More than one set of authentication triplets can be added. The printer will only use the credentials as they are needed. In other words, the printer will only use the credentials for servername.com if it receives a HTTP/1.1 401 Unauthorized request from servername.com.

To see what authentication triplets are specified issue:

! U1 getvar "weblink.ip.conn1.authentication.entries"

To remove authentication credentials issue the following:

! U1 setvar "weblink.ip.conn1.authentication.remove" "servername.com"

1/20/15

P1071336-002

Image 33
Contents Soti Page 20/15 P1071336-002 P1071336-002 20/15 Contents WebLink Set/Get/Do Commands About This Document How This Document Is Organized Who Should Use This DocumentIcons Used Document ConventionsAbout This Document Introduction Overview What Soti MobiControl Connector DoesSupported Printers Supported Operating SystemsInstallation Minimum System Requirements Installing in a Windows Operating SystemInstall a MobiControl Server Installation StepsInstallation My Documents\zebracerts\ Click Finish Install Software Installation Mypasserver.com Mypc.company.lan Enter the password selected in on Installation Test a Printer Enable Printer DiscoveryInstallation Installation Installation Installation Set Up Printers Discover Your Printers Configuring Printers with WebLink Configuring Weblink Basic ConfigurationWhen a Proxy Server is Part of the Network Configuration To remove authentication credentials issue the following When Http Authentication is NecessaryAdditional Firewall Configuration Enable LoggingDifference Between Conn1 and Conn2 Navigating the Log Output Configuring Printers with WebLink Troubleshooting Installation Errors Restarting the Soti MobiControl ConnectorLocating the Soti MobiControl Connector Log File Value that it was last set to. This does not mean the value SSL/TLS Certificate ErrorsIncorrect. Check that the printer’s date and time rtc.date Communication Other Typical ErrorsTroubleshooting Http Messages Troubleshooting WebLink Set/Get/Do Commands Introduction to SGD Commands Weblink.enable Weblink.ip.conn12.authentication.add Entries Weblink.ip.conn12.authentication.entries Weblink.ip.conn12.authentication.remove Weblink.ip.conn12.enable Weblink.ip.conn12.location Weblink.ip.conn12.maximumsimultaneous connections Weblink.ip.conn12.proxy This command assigns the URL of the connection proxyHttp//usernamepassword@mydomain.com3128 Http//mydomain.com Weblink.ip.conn12.retryinterval DefaultWeblink.ip.conn12.test.location WebLink Set/Get/Do Commands Weblink.ip.conn12.test.retryinterval Weblink.ip.conn12.test.teston Default failureWebLink Set/Get/Do Commands Weblink.logging.clear This command clears the weblink log entiresSupported Devices Weblink.logging.entriesWeblink.logging.maxentries WebLink Set/Get/Do Commands Weblink.printerresetrequired This command defaults the weblink branch settings Weblink.restoredefaults20/15 P1071336-002 Zebra Technologies Europe Limited