Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error handling in Set-TNCertificate #95

Open
potatoqualitee opened this issue Apr 23, 2021 · 0 comments
Open

fix error handling in Set-TNCertificate #95

potatoqualitee opened this issue Apr 23, 2021 · 0 comments

Comments

@potatoqualitee
Copy link
Owner

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

  • ... $null = Set-SFTPItem -Destination /tmp -Path $CaCertPath
  •                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (SSH.SftpSession:SftpSession) [Set-SFTPItem], SftpPermissionDeniedException
    • FullyQualifiedErrorId : File already exists on remote host,SSH.SetSftpItem

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

@potatoqualitee potatoqualitee changed the title fix error handling fix error handling in Set-TNCertificate Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant