webapi (System Services)
语法
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; } }
层次结构级别
[edit system services]
描述
配置 Web API (webapi),以便将用户身份验证和身份信息从 CPPM 高效传输到 SRX 系列防火墙。CPPM(此关系中的客户端)启动与 SRX 系列防火墙 Web API 进程(此关系中的服务器)的会话。但是,只有当您在 SRX 系列防火墙上配置 Web API 功能时,CPPM 才能执行此操作。出于安全原因,默认情况下不启用 Web API 进程。
配置语句将单独说明。请参阅 CLI 资源管理器。
选项
client | 允许的 HTTP/HTTPS 请求发起方的地址。 |
debug-level | webapi 进程的调试级别。
|
debug-log | webapi 进程的调试日志。 |
http | 未加密的 HTTP 连接设置。 |
https | 加密的 HTTPS 连接设置。 |
user | 指定用户名。 |
其余语句将单独解释。请参阅 CLI 资源管理器。
所需权限级别
安全性 - 在配置中查看此语句。
安全控制 — 将此语句添加到配置中。
发布信息
在 Junos OS 12.3X48-D30 版中引入的语句。