Hi,
We are trying to deploy and configure Octopus tentacle version 3.2.6 via powershell remote.
The msi install works fine
Subsequently this command works fine:
“D:\NTApps\Octopus Deploy\Tentacle\Tentacle.exe” create-instance --instance “Tentacle” --config “D:\Octopus\Tentacle.config” --console
The next command fails as shown below:
“D:\NTApps\Octopus Deploy\Tentacle\Tentacle.exe” new-certificate --instance “Tentacle” --if-blank --console
Octopus Deploy: Tentacle version 3.2.6 (3.2.6+Branch.master.Sha.61f0c2f50db3f40f7bd0a9032ad73491f81fda14)
Error: The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation. (Exception from HRESULT: 0x80090345)
Full error details are available in the log files.
At: C:\Users\ziaassrvacc\AppData\Local\Octopus\Logs
The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation. (Exception from HRESULT: 0x80090345)
System.Runtime.InteropServices.COMException (0x80090345): The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation. (Exception from HRESULT: 0x80090345)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Octopus.Shared.Security.CertificateGenerator.Generate(String fullName, Boolean exportable) in Y:\work\refs\tags\3.2.6\source\Octopus.Shared\Security\CertificateGenerator.cs:line 27
at Octopus.Shared.Configuration.TentacleConfiguration.GenerateNewCertificate() in Y:\work\refs\tags\3.2.6\source\Octopus.Shared\Configuration\TentacleConfiguration.cs:line 188
at Octopus.Tentacle.Commands.NewCertificateCommand.Start() in Y:\work\refs\tags\3.2.6\source\Octopus.Tentacle\Commands\NewCertificateCommand.cs:line 59
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) in Y:\work\refs\tags\3.2.6\source\Octopus.Shared\Startup\AbstractCommand.cs:line 57
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in Y:\work\refs\tags\3.2.6\source\Octopus.Shared\Startup\ConsoleHost.cs:line 72
at Octopus.Shared.Startup.OctopusProgram.Run() in Y:\work\refs\tags\3.2.6\source\Octopus.Shared\Startup\OctopusProgram.cs:line 87
The same sequence of commands works fine when run interactively in a non-elevated cmd prompt on the same Tentacle client machine
Is this a bug, or known issue, and if so is there a workaround?
Many thanks
Justin