Merge pull request #202 from Icinga:fix/Ignore-SSL-Errors

Docs: Ignore SSL-Errors documentation
This commit is contained in:
Lord Hepipud 2021-02-10 16:03:13 +01:00 committed by GitHub
commit 3c06c5e12a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View file

@ -7,6 +7,7 @@ The Icinga PowerShell Framework ships with a bunch of Cmdlets for monitoring, me
* [Automated Framework and Component deployment](frameworkusage/01-Automated-Framework-and-Component-Deployment.md)
* [Enable Proxy Server](frameworkusage/02-Enable-Proxy-Server.md)
* [Install Wizard Guide](frameworkusage/03-Install-Wizard-Guide.md)
* [Disable Certificate Validation](frameworkusage/04-Disable-Certificate-Validation.md)
## Icinga Agent Management

View file

@ -0,0 +1,17 @@
# Disable Certificate Validation
In some cases it might be required to disable checks for certificates while performing web requests. This is especially true while using self signed certificates which are not installed on the local Windows machine.
## Disable Validation
To disable the certificate check for the entire certificate chain, you can simply use the following command within an Icinga Shell:
```powershell
Enable-IcingaUntrustedCertificateValidation
```
Once enabled, certificates will no longer be checked while using this PowerShell instance. Web calls by using `Invoke-WebRequest` or `Invoke-IcingaWebRequest` will proceed, regardless of the certificate behind and possible SSL/TLS errors.
## Enable Validation
To enable the validation again, you will have to close the PowerShell session and create a new one. There is no Cmdlet available to enable it again.