Session Host certificates

This commit is contained in:
vfedosevich 2015-03-03 07:43:23 -08:00
parent 789cd6ca11
commit 1969cd398c
45 changed files with 1196 additions and 377 deletions

View file

@ -327,9 +327,21 @@ namespace WebsitePanel.EnterpriseServer
}
[WebMethod]
public ResultObject InstallSessionHostsCertificate(int collectionId, byte[] certificate, string password)
public ResultObject InstallSessionHostsCertificate(RdsServer rdsServer)
{
return RemoteDesktopServicesController.InstallSessionHostsCertificate(collectionId, certificate, password);
return RemoteDesktopServicesController.InstallSessionHostsCertificate(rdsServer);
}
[WebMethod]
public RdsCertificate GetRdsCertificateByServiceId(int serviceId)
{
return RemoteDesktopServicesController.GetRdsCertificateByServiceId(serviceId);
}
[WebMethod]
public ResultObject AddRdsCertificate(RdsCertificate certificate)
{
return RemoteDesktopServicesController.AddRdsCertificate(certificate);
}
}
}