AnsweredAssumed Answered

Problem with deployment agents with SSL enabled

Question asked by Sanserif Advocate on Oct 27, 2017
Latest reply on Oct 30, 2017 by Burak.yucel

Hello!

 

1. Created self signed cert (via PS)

2. Installed Inventory Server with HTTPS connection enabled, certificate was provided from cert-store

4. Changed port from 443 to 9443

3. Processed network discovery, found computer. 

4. Now, when i try to deploy agent to remote PC it fails with logs:

 

2017-10-27T15:47:47+02:00;discovery-deployment;;;;Connecting to [10.216.1.165] as domain user [*** HIDDEN *** ]...
2017-10-27T15:48:10+02:00;discovery-deployment;;;;Deployment connection test on [10.216.1.165] succeeded.
2017-10-27T15:48:10+02:00;discovery-deployment;;;;Downloading update package from [https://localhost:9443/]...
2017-10-27T15:48:10+02:00;command-control;;;;An error occured processing command.
[System.Net.Http.HttpRequestException]: An error occurred while sending the request.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SnowSoftware.Inventory.Server.AgentDeploymentMessageHandler.<GetUpdatePackage>d__41.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\AgentDeploymentMessageHandler.cs:line 257
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SnowSoftware.Inventory.Server.AgentDeploymentMessageHandler.<ExecuteDeployment>d__5.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\AgentDeploymentMessageHandler.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SnowSoftware.Inventory.Server.AgentDeploymentMessageHandler.<ExecuteAsync>d__0.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\AgentDeploymentMessageHandler.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SnowSoftware.Inventory.Messaging.MessageBus.<ProcessAsync>d__d`1.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Messaging\Inventory.Messaging\MessageBus.cs:line 143
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SnowSoftware.Inventory.Server.CommandControlMessageLoop.<ProcessAsync>d__c.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\CommandControlMessageLoop.cs:line 91
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SnowSoftware.Inventory.Server.CommandControlMessageLoop.<RunAsync>d__0.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\CommandControlMessageLoop.cs:line 46 

 

If open https://localhost:9443/  in brouser, there is standart error about certificate, but after accept - opening inventroy server page.

 

What i missed or doing worng?

Outcomes