-
-
-
使用 API 创建配置以上载证书和密钥文件
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
使用 API 创建配置以上载证书和密钥文件
可使用样本 API 基于此样本创建配置。您可以使用任何工具,例如 curl 命令行工具或 Postman chrome 浏览器扩展程序,向 NetScaler Application Delivery Management (ADM) 发送 HTTP 请求。
考虑在 如何创建用于将 SSL 证书和证书密钥文件上载到 NetScaler ADM 的样书中为上载证书和密钥文件而创建的样书示例。使用 REST API 基于此样书创建配置包,如下所示:
POST
https://<MAS_IP_Address>/stylebook/nitro/v1/config/stylebooks/com.citrix.adc.stylebooks/1.0/lb-mon/configpacks?mode=async
<!--NeedCopy-->
Content-Type: application/jsonAccept: application/json {
"configpack": {
"parameters": {
"lb-appname": "lbmon",
"lb-virtual-ip": "13.1.11.10",
"lb-virtual-port": "80",
"lb-service-type": "HTTP",
"svc-service-type": "HTTP",
"svc-servers": [
{
"ip": "14.1.1.15",
"port": "80" }
],
"certificates": [
{
"cert-name": "server_cert",
"cert-file": "server_cert.pem",
"ssl-inform": "PEM",
"key-name": "server_key",
"key-file": "server_key.pem",
"cert-password": "secret",
"cert-advanced": {
"is-ca-cert": false,
"skip-ca-name": false
}
}
],
"lb-advanced": {
"flush-on-state-down": "ENABLED",
"auth-params": {
"authentication": "OFF",
"authentication-http-401": "OFF"
},
"appflow-log": "ENABLED",
"algorithm": "LEASTCONNECTION"
},
"svcg-advanced": {
"svc-client-ip": "DISABLED",
"svc-use-source-ip": "NO",
"svc-use-proxy-port": "NO",
"svc-surge-protection": "OFF",
"svc-client-keepalive": "NO",
"svc-tcp-buffering": "NO",
"svc-compression": "NO",
"svc-state": "ENABLED",
"svc-downstate-flush": "DISABLED",
"svc-enable-health-monitor": "NO"
}
},
"targets": [
{
"id": "8c158e7a-0087-423f-91b0-0ccf16de552a"
}
]
}
}
<!--NeedCopy-->
此配置包通过使用 id 8c158e7a-0087-423f-91b0-0ccf16de552a 唯一标识。可以使用此 ID 查询、更新或删除该配置。成功更新配置包后,证书和密钥文件将上载到 NetScaler ADM 文件系统。
共享
共享
在本文中
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.