applytlsconfigandrestart

API Name

applytlsconfigandrestart

Description

Applies TLS configuration to Server Manager Console and its running Agents. Also, restarts the Server Manager Console and Agents.

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/applytlsconfigandrestart

Return

HTTP status 200 is returned.

Sample Response

Exception

Throws an exception if the operation fails for any reason.