EvotecIT / Testimo

Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
MIT License
519 stars 55 forks source link

Failure for several tests when using WinRM over HTTPS #136

Closed SUBnet192 closed 2 years ago

SUBnet192 commented 2 years ago

I have deployed WinRM over HTTPS for a client, and now Testimo fails several tests. Adding support would be great.

PrzemyslawKlys commented 2 years ago

Can you test available protocols that works? Get-ComputerDisk -Protocol Wsman -ComputerName AD1 ?

SUBnet192 commented 2 years ago

For WinRM over HTTPS to work, the connections (for example enter-pssession, needs to specify the FQDN and -UseSSL)

I tried the get-computerdisk and it fails.

From: Przemysław Kłys @.> Date: Monday, July 26, 2021 at 3:31 PM To: EvotecIT/Testimo @.> Cc: Marc Bouchard @.>, Author @.> Subject: Re: [EvotecIT/Testimo] Failure for several tests when using WinRM over HTTPS (#136)

Can you test available protocols that works? Get-ComputerDisk -Protocol Wsman -ComputerName AD1 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/EvotecIT/Testimo/issues/136#issuecomment-886969091, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC25IPFRSS5UR2DMGJFMVLLTZWZXZANCNFSM5BAADIZA.

PrzemyslawKlys commented 2 years ago

Right, but we don't use enter-pssession :) It's going to be a pain.

SUBnet192 commented 2 years ago

That was just an example 😉 WAC uses WinRM and retrieves all the appropriate data, there must be a way 😊

Thanks for taking the time to respond, I’ll try to investigate further later

From: Przemysław Kłys @.> Date: Monday, July 26, 2021 at 3:43 PM To: EvotecIT/Testimo @.> Cc: Marc Bouchard @.>, Author @.> Subject: Re: [EvotecIT/Testimo] Failure for several tests when using WinRM over HTTPS (#136)

Right, but we don't use enter-pssession :) It's going to be a pain.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/EvotecIT/Testimo/issues/136#issuecomment-886976189, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC25IPH4IV6ELSKMNCT2LELTZW3FZANCNFSM5BAADIZA.

PrzemyslawKlys commented 2 years ago

I mean - I am saying it's gonna be a pain for a simple reason - each cmdlet can either be just one query or multiple ones inside and each test is different. There are very few tests working the same way. We need a list of things that work and don't work using certain methods and then go one by one and see what works, and what doesn't work.

PrzemyslawKlys commented 2 years ago

I believe when you respond via email to a ticket GitHub scrubs away emails, hiding sensitive data.

SUBnet192 commented 2 years ago

Ignore, as it's an unlikely scenario in the future