An administrator wishes to secure their Junos REST API connections by configuring HTTPS instead of plain HTTP. Which command under 'system services jpagent' accomplishes this?
Trap 1: set system services netconf ssl
This configures secure NETCONF over SSH, not the REST API.
Trap 2: set security ipsec-vpn
IPsec VPN is unrelated to REST API transport security.
Trap 3: set system services rest secure
This is not a valid Junos CLI syntax path.
- A
set system services jpagent https
Enabling HTTPS under jpagent makes the Junos REST API serve requests over TLS rather than plaintext HTTP, satisfying the requirement to secure API connections. The 'https' leaf activates the secure listener on the jpagent service.
- B
set system services netconf ssl
Why it fails: This configures secure NETCONF over SSH, not the REST API.
- C
set security ipsec-vpn
Why it fails: IPsec VPN is unrelated to REST API transport security.
- D
set system services rest secure
Why it fails: This is not a valid Junos CLI syntax path.