Skip to content

Start-RadiusDeployment.ps1 capitalisation error in Config.ps1 import #653

@tully-systima

Description

@tully-systima

Issue description
Generating Radius certs using the powershell script
scripts/automation/Radius/Start-RadiusDeployment.ps1
fails, with returned error:

Invoke-Expression: [pathToRepo]/support/scripts/automation/Radius/Functions/Public/Generate-RootCert.ps1:45
Line |
  45 |  Invoke-Expression "$opensslBinary req -x509 -newkey rsa:2048 -days 36 …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The string is missing the terminator: ".

The start of the script contains:

# Import Global Config:
. "$psscriptroot/config.ps1"

However, the config file is actually named Config.ps1, causing the script to fail

To Reproduce
Steps to reproduce the behavior:
Run Start-RadiusDeployment.ps1 with . "$psscriptroot/config.ps1" causes the script to fail, however . "$psscriptroot/Config.ps1" works correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions