I have modified the WINRM Rundeck plugin to support CredSSP. The WINRM_NATIVE mode has been modified to use the Windows winrs.exe client to perform remote operations (the unmodified plugin uses an open source implementation of the WinRM protocol which
does not support CredSSP).
First you need to use my modified WINRM plugin and configure project settings in Rundeck.
Then you need to setup CredSSP support in Windows.
Depending your Windows version you may use Powershell to configure CredSSP (client-Rundeck, server-remote server). This requires a computer certificate on your remote server.
Enable-WSManCredSSP -Role client -DelegateComputer *
Enable-WSManCredSSP -Role server
Test WinRM from your Rundeck server to your remote server before trying any Rundeck jobs.
Example:
winrs.exe -r:myserver -ad -u:username -p:password ipconfig.exe
CredSSP is a method WinRM uses to transport username and password safely to your remote server. When authenticating with your remote server using “fresh” credentials, delegation is allowed and your remote server can perform remote operations.
My Rundeck project has been postponed, but I’m continuing my work soon and will provide better documentation. I’m implementing Rundeck in a Windows only environment and its going to be very valuable to us.
Regards,
Espen Blikstad