Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

webapi (System Services)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
webapi {
    client (System Services) name;
    debug-level (System Services) (alert | crit | emerg | error | info | notice | warn);
    debug-log (System Services) file;
    http (System Services) {
        port port;
    }
    https (System Services) {
        certificate certificate;
        certificate-key certificate-key;
        default-certificate;
        pki-local-certificate pki-local-certificate;
        port port;
    }
    user (System Services){
        user-name;
        password password;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system services]

Description

Configure Web API (webapi) to facilitate efficient transmission of user authentication and identity information from the CPPM to the SRX Series Firewall. The CPPM, which is the client in this relationship, initiates a session with the SRX Series Firewall Web API process, which is the server in this relationship. However, the CPPM can do this only if you have configured the Web API function on the SRX Series Firewall. For security reasons, the Web API process is not enabled by default.

The configuring statements are explained separately. See CLI Explorer.

Options

client

Address of permitted HTTP/HTTPS request originator.

debug-level

Debug level for webapi process.

  • Values:

    • alert—Match alert messages

    • crit—Match critical messages

    • emerg—Match emergence messages

    • error—Match error messages

    • info—Match informational messages

    • notice—Match notice messages

    • warn—Match warning messages

debug-log

Debug log for webapi process.

http

Unencrypted HTTP connection settings.

https

Encrypted HTTPS connection settings.

user

Specify the User name.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.3X48-D30.

footer-navigation