Skip to content

Added switch to Connect-NSAppliance to skip SSL certificate validation - #7

Open
timdenholm wants to merge 2 commits into
cognitionIT:masterfrom
timdenholm:master
Open

Added switch to Connect-NSAppliance to skip SSL certificate validation#7
timdenholm wants to merge 2 commits into
cognitionIT:masterfrom
timdenholm:master

Conversation

@timdenholm

@timdenholm timdenholm commented Dec 18, 2017

Copy link
Copy Markdown

I've added an -Insecure switch to Connect-NSAppliance in order to have the option to skip SSL certificate validation (on any invocations of Invoke-RestMethod). Defaults to secure.

e.g. $s = Connect-NSAppliance -NSAddress "10.10.10.10" -NSUserName "nsroot" -NSPassword "nsroot" -Insecure $true

Added the -Insecure switch to Connect-NSAppliance in order to skip SSL certificate validation. Defaults to secure.
Added switch to Connect-NSAppliance to skip SSL certificate validation
@timdenholm timdenholm changed the title Add switch to Connect-NSAppliance to skip SSL certificate validation Added switch to Connect-NSAppliance to skip SSL certificate validation Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant