Testing SSH credentials

Trying to script out the deployment of a certificate to a Ubiquiti Dream Machine Pro. I need login, copy the separated cert and key files, then restart the UniFi service. So, I’ve created three tasks. 1) Task Type: Export Certificate, to SSH/SCP the key to /mnt/data/unifi-os/unifi-core/config/. 2) Task Type: Export Certificate, to likewise copy the cert + intermediary to the same location. 3) Task Type: Run…, to execute ‘unifi-os restart’

When I manually run task 1 it told, “Export failed due to connection or file copy failure. Check log for more information.” So I use Google to search on various parts of the log file like “System.Reflection.TargetInvocationException”, “Exception has been thrown by the target of an invocation. —> System.InvalidOperationException”, or “Windows Platform FIPS validated …” however, none of it seemed to apply or help. One person seemed to state success by twiddling a registry bit for FIPS from 1 to 0. Didn’t do anything for me.

Then I saw the save credentials and a “test” button on the settings tab. Works for the Cloudflare DNS API. But not for the UDM-Pro or ESXi login. Those say, “No test available.” Am I missing something simple like tell telling it where PuTTY is? (didn’t see any option to)

2020-08-14 23:10:53.131 -10:00 [INF] ---- Performing Task [On-Demand or Manual Execution] :: Export Key ----
2020-08-14 23:10:53.134 -10:00 [INF] Task [Export Key] :: Task is enabled and primary request was successful.
2020-08-14 23:10:53.350 -10:00 [ERR] SftpClient :: Failed to perform CopyLocalToRemote: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider…ctor()
— End of inner exception stack trace —
at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
at Renci.SshNet.Session.Connect()
at Renci.SshNet.BaseClient.CreateAndConnectSession()
at Renci.SshNet.BaseClient.Connect()
at Certify.Providers.Deployment.Core.Shared.SftpClient.CopyLocalToRemote(Dictionary`2 files, ILog log)
2020-08-14 23:10:53.350 -10:00 [ERR] Export failed due to connection or file copy failure. Check log for more information.