Information
Network devices should not be managed using unencrypted HTTP sessions
Rationale:
The JUNOS REST API can be configured for access using either HTTP or HTTPS for connections.
HTTP transmits all data (including passwords) in clear text over the network and provides no assurance of the identity of the hosts involved.
Because of this HTTP should never be used for sensitive tasks such as managing network devices or entering login credentials; so REST HTTP should always be disabled.
Impact:
Management of the device through REST HTTP will be lost - ensure that other management options are configured and working before disabling this service on production systems.
Solution
To disable REST HTTP, enter the following command from the [edit system services rest] hierarchy:
[edit system services rest]
user@host# delete http
Default Value:
By default the REST API is disabled.