Solution |
- NTP Server configuration with encrypted key
PUT /api/v1/configuration/system/configuration/date-and-time/ntp-settingsHOST 10.64.193.97Authorization: Basic 7KQ2a4JrE9fwKxQHOoWgWrgPFB1X/G3Co9SPVTpjD4A=Request: Content-Type: application/json{ "enable": "true", "fourth-server": "", "fourth-server-key-encrypted": "", "secondary-server": "", "secondary-server-key-encrypted": "", "server": "10.0.0.1", "server-key-encrypted": "3u+UR6n8AgABAAAA4zcj6AqEko0VLG8UNPIjOkGP19FE20y0rR1w/iWC2uo=", "third-server": "", "third-server-key-encrypted": ""}Response:{ "result": { "info": [ { "message": "Operation succeeded without warning or error!" } ] }}
- NTP Server configuration with cleartext key
PUT /api/v1/configuration/system/configuration/date-and-time/ntp-settingsHOST 10.64.193.97Authorization: Basic 7KQ2a4JrE9fwKxQHOoWgWrgPFB1X/G3Co9SPVTpjD4A=Request: Content-Type: application/json{ "enable": "true", "fourth-server": "", "fourth-server-key-encrypted": "", "secondary-server": "", "secondary-server-key-encrypted": "", "server": "10.0.0.2", "server-key-cleartext": "1 MD5 5d41402abc4b2a76b9719d911017c592", "third-server": "", "third-server-key-encrypted": ""}Response:{ "result": { "info": [ { "message": "Operation succeeded without warning or error!" } ] }}NOTE: The key should have following format: [numeric index] [algorithm (MD5/SHA1 etc)] [key value string]. |
|
---|