ssl/ca_import
1 minute read.
Last Modified 2021-02-04 11:38 ESTNamespace | Name | Admin Only | Log Summary | Generates Event | Version Added |
---|---|---|---|---|---|
ssl | ca_import | yes | no | no | 1 |
Import a custom certificate authority (CA) certificate which will be accepted for all NAS connections.
If the “name” matches an already existing custom CA, then that CA file will be overwritten with the new contents.
- Required:
- “name” : (string) internal name for the CA certificate
- “pem” : (string) Certificate contents (must be in PEM format)
- Optional:
- “pem_as_base64” : (boolean) The “pem” string is provided in base64-encoded format (default: false).
ARGUMENTS ONLY: See the basics of API requests for additional formatting information.
"args" : {
"name" : "mycustomCA-1"
"pem" : "ASFIJBGIOUWSKLDFGJBNSDF:GJBNBGSDFIVU54394785SDIGHB",
"pem_as_base64" : true
}
ARGUMENTS ONLY: See the basics of API requests for additional formatting information.
"args" : {
"result" : "success"
}
This API call does not generate a detailed log summary item
This API call does not emit any middleware events.