potatoqualitee / tentools

💙 tenable.sc / nessus / acas powershell module
BSD 3-Clause "New" or "Revised" License
38 stars 7 forks source link

fix error handling in Set-TNCertificate #95

Open potatoqualitee opened 3 years ago

potatoqualitee commented 3 years ago

[7s] C:/github/ansible❯ Set-TNCertificate @certparams Set-SFTPItem : File already exists on remote host. At line:198 char:29

WARNING: [07:58:02][Invoke-SecureShellCommand] Command ' /opt/sc/support/bin/php /opt/sc/src/tools/installCA.php /tmp/custom_CA.inc' failed with exit status 106