Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch self signed certs #26

Merged
merged 2 commits into from
Aug 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ePOwerShell/Private/Initialize-ePOConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ function Initialize-ePOConfig {
}

$Script:ePOwerShell = @{
Port = $Port
Server = $Server
Credentials = $Credentials
AllowSelfSigned = $AllowSelfSignedCerts
Port = $Port
Server = $Server
Credentials = $Credentials
AllowSelfSignedCerts = $AllowSelfSignedCerts
}

try {
Expand Down
5 changes: 3 additions & 2 deletions ePOwerShell/Public/Set-ePOConfig.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ function Set-ePOConfig {
$Credentials = New-Object @GetCredentials

$ePOwerShellVariables = @{
Server = $Settings.Server
Credentials = $Credentials
Server = $Settings.Server
Credentials = $Credentials
AllowSelfSignedCerts = $Settings.AllowSelfSignedCerts.IsPresent
}

if ($settings.Port) {
Expand Down