pspete / psPAS

PowerShell module for CyberArk Privileged Access Security REST API
https://pspas.pspete.dev
MIT License
295 stars 92 forks source link

Introduce SkipCertificateCheck #204

Closed pspete closed 5 years ago

pspete commented 5 years ago

Summary

Adds -SkipCertificateCheck parameter to New-PASSession

This PR implements the following features:

-SkipCertificateCheck parameter added to New-PASSession & Invoke-PASRestMethod. Allows a user to opt to not perform any validation of the SSL certificate securing the API. -SkipCertificateCheck is passed on to Invoke-PASRestMethod. Added logic to allow bypass of SSL validation in both PWSH & PowerShell.

Test Plan

Broke my trust with certificate authority. Developed the feature until I could use the features of the module without any SSL/TLS related issues in PWSH or PowerShell.

Closes issues

Fixes #

Closes #196