mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
parent
eabf0008f2
commit
61c98f7493
2 changed files with 18 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
17
doc/frameworkusage/04-Disable-Certificate-Validation.md
Normal file
17
doc/frameworkusage/04-Disable-Certificate-Validation.md
Normal 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.
|
||||
Loading…
Reference in a new issue