ClientUserSslCertImportFromFile Method |
Imports an SSL public certificate to a user's certificate store from a file.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public bool UserSslCertImportFromFile(
string Username,
string Filepath
)
Public Function UserSslCertImportFromFile (
Username As String,
Filepath As String
) As Boolean
public:
bool UserSslCertImportFromFile(
String^ Username,
String^ Filepath
)
Parameters
- Username
- Type: SystemString
Username of user to add cert for. - Filepath
- Type: SystemString
Local path of certificate file to import.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
Remarks
The certificate file must contain a Base-64 encoded public-only certificate.
Do not use DER or other encodings.
See Also