icinga-powershell-framework/lib/webserver
Tobias Deiminger 91e37ea16c Fix loading certificate from .pfx file
If you tried this
 Use-Icinga; Get-IcingaSSLCertForSocket -CertFile "C:/my/cert.pfx"

the former code expanded like
 $FileType = Get-Item -Path "C:/my/cert.pfx";
 if ("cert.pfx" -eq '.pfx') { ... not reached ... }

and thus did not load the certificate file.

Now use GetExtension instead of Get-Item to make the .pfx check work.
2021-05-10 09:17:46 +02:00
..
Close-IcingaTCPConnection.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Close-IcingaTCPSocket.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Convert-Base64ToCredentials.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
ConvertTo-IcingaX509Certificate.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Disable-IcingaUntrustedCertificateValidation.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Enable-IcingaUntrustedCertificateValidation.psm1 Adds experimental feature for internal API checks 2021-02-24 12:49:37 +01:00
Get-IcingaRESTHeaderValue.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Get-IcingaRESTPathElement.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Get-IcingaSSLCertForSocket.psm1 Fix loading certificate from .pfx file 2021-05-10 09:17:46 +02:00
Get-IcingaTCPClientRemoteEndpoint.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Icinga_HTTPResponse_Enums.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
New-IcingaSSLStream.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
New-IcingaTCPClient.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
New-IcingaTCPClientRESTMessage.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
New-IcingaTCPSocket.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Open-IcingaTCPClientConnection.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Read-IcingaRESTMessage.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Read-IcingaTCPStream.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Send-IcingaTCPClientMessage.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Send-IcingaWebAuthMessage.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00
Test-IcingaRESTCredentials.psm1 Feature Requests: Add Proxy Server support 2020-11-19 17:16:33 +01:00