Access Authentication with HTTP Server
You can configure the device to authenticate itself with the HTTP/S server storing the files that you want to download for the Automatic Update mechanism. The device authenticates itself by providing the HTTP/S server with its authentication username and password. The credentials are used for both Digest access authentication (MD5 cryptographic hashing) and the non-secured Basic access authentication method.
When configuring the URL of the server with the name of the file that you want downloaded, you can also include the username and password in the format "username:password" (without quotation marks), as shown in the example below for the software file (.cmp):
■ | ini file: |
AutoCmpFileUrl = 'https://JoeD:1234@10.1.1.1/mysw.cmp'
■ | CLI: |
# configure system
(config-system)# automatic update
(auto-update)# auto-firmware https://JoeD:1234@10.1.1.1/mysw.cmp
If you have not included the username and password in the parameters used for configuring the URL of the server with the name of the file that you want downloaded, the device uses the username and password that you configured for the ini file parameter [AUPDUserPassword] or CLI command configure system > automatic-update > credentials.
The password cannot be configured with wide characters (for example, Chinese characters).