(408) 943-4100               V   Commercial Support

ssl/ca_import

  1 minute read.

Last Modified 2021-02-04 11:38 EST
NamespaceNameAdmin OnlyLog SummaryGenerates EventVersion Added
sslca_importyesnono1

Description

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.

Input Arguments

  • 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).

Request Example Arguments

ARGUMENTS ONLY: See the basics of API requests for additional formatting information.

"args" : {
  "name" : "mycustomCA-1"
  "pem" : "ASFIJBGIOUWSKLDFGJBNSDF:GJBNBGSDFIVU54394785SDIGHB",
  "pem_as_base64" : true
}

Reply Example Arguments

ARGUMENTS ONLY: See the basics of API requests for additional formatting information.

"args" : {
  "result" : "success"
}

Log Summary

This API call does not generate a detailed log summary item

Events

This API call does not emit any middleware events.

See Also