validatetlsconfig

API Name

validatetlsconfig

Description

Validates the trustStore and keyStore files with the provided passwords.

REST Methods

POST

Precondition

Agent must be running.

Input Params

tlsVersion, truststorepswd, keystorepswd, privatekeypswd

Sample Request

{“ tlsVersion”:”TLSv1.2”,” truststorepswd “:”sample”, “keystorepswd “:”sample”,” privatekeypswd”:”sample”} https://smc.example.com:8999/manage/mgmtrestservice/validatetlsconfig

Return

HTTP status 200 is returned.

Sample Response

"Validation successful"

Exception

Throws an exception if the operation fails for any reason.