kandi background
kandi background
Explore Kits
kandi background
Explore Kits
kandi background
Explore Kits
kandi background
Explore Kits
PowerShell is a task automation program used in Windows Operating System developed by Microsoft. It consists of a command-line shell and a scripting language.

Popular New Releases in PowerShell

Version 0.1.0

v1.0.0

macOS 10.15 (20220419 update)

2.0.496

6.0.14

Scoop

Version 0.1.0

posh-git

v1.0.0

virtual-environments

macOS 10.15 (20220419 update)

oh-my-posh2

2.0.496

Sophia-Script-for-Windows

6.0.14

Popular Libraries in PowerShell

Trending New libraries in PowerShell

Top Authors in PowerShell

1

1664 Libraries

29280

2

837 Libraries

2

3

230 Libraries

19664

4

103 Libraries

7897

5

90 Libraries

3052

6

87 Libraries

15

7

75 Libraries

15591

8

70 Libraries

1698

9

68 Libraries

1473

10

65 Libraries

428

1

1664 Libraries

29280

2

837 Libraries

2

3

230 Libraries

19664

4

103 Libraries

7897

5

90 Libraries

3052

6

87 Libraries

15

7

75 Libraries

15591

8

70 Libraries

1698

9

68 Libraries

1473

10

65 Libraries

428

Trending Kits in PowerShell

No Trending Kits are available at this moment for PowerShell

Trending Discussions on PowerShell

    Azure Pipelines local agent failing to connect with SSL error
    Problems with creating an azure function in visual studio 2022
    Error when deploying react app and it keeps sayings << Plugin "react" was conflicted between "package.json » eslint-config-react-app » >>
    What decides if a value is returned from a PowerShell function?
    Getting error on running command `npm run build`, error `TypeError: MiniCssExtractPlugin is not a constructor`
    Why does my .NET Core 6 console app not want to run in CLI?
    How to use Windows.Storage.Streams.DataWriter with PowerShell
    BTSKTask AddResource - How to raise an error in case the command fails
    How can I suppress or resolve "info: detecting host provider for..." in Git?
    Why does nvidia-smi return "GPU access blocked by the operating system" in WSL2 under Windows 10 21H2

QUESTION

Azure Pipelines local agent failing to connect with SSL error

Asked 2022-Mar-29 at 19:29

We have an on premise server (Windows Server 2012 R2) with an Azure Pipelines agent running on it. Today (31st Jan 2022) this agent could not longer connect to our Azure DevOps organisation.

Log file of azure agent

Judging by the log files, I assume this is because it is trying to connect with an older TLS version, which as of today is no longer available - https://devblogs.microsoft.com/devops/azure-devops-services-to-require-tls-1-2/

So I followed the instructions on how to make sure TLS 1.2 was enabled, and confirmed my settings in the registry editor and by running the PowerShell script suggested here - https://docs.microsoft.com/en-us/security/engineering/solving-tls1-problem#update-windows-powershell-scripts-or-related-registry-settings

All seems ok, yet it still fails to connect with the same issue. The machine has been restarted as well. If I try the URL it is requesting in the in built Internet Explorer browser, it fails, but with Chrome it succeeds, so it must still be trying to connect with TLS 1.2, but I don't know why. I've tried reinstalling the agent (with the latest build) as well but it fails on the same error. Any suggestions?

ANSWER

Answered 2022-Jan-31 at 23:27

Enabling below Cyphers with IISCrypto on the server helped us fix the issue

Cipher Suites

TLS 1.2 (suites in server-preferred order) TLS

  • _DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 2048 bits FS 256 TLS
  • DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 2048 bits FS 128

This from Vijay's solution

Source https://stackoverflow.com/questions/70929356

Community Discussions contain sources that include Stack Exchange Network

    Azure Pipelines local agent failing to connect with SSL error
    Problems with creating an azure function in visual studio 2022
    Error when deploying react app and it keeps sayings << Plugin "react" was conflicted between "package.json » eslint-config-react-app » >>
    What decides if a value is returned from a PowerShell function?
    Getting error on running command `npm run build`, error `TypeError: MiniCssExtractPlugin is not a constructor`
    Why does my .NET Core 6 console app not want to run in CLI?
    How to use Windows.Storage.Streams.DataWriter with PowerShell
    BTSKTask AddResource - How to raise an error in case the command fails
    How can I suppress or resolve "info: detecting host provider for..." in Git?
    Why does nvidia-smi return "GPU access blocked by the operating system" in WSL2 under Windows 10 21H2

QUESTION

Azure Pipelines local agent failing to connect with SSL error

Asked 2022-Mar-29 at 19:29

We have an on premise server (Windows Server 2012 R2) with an Azure Pipelines agent running on it. Today (31st Jan 2022) this agent could not longer connect to our Azure DevOps organisation.

Log file of azure agent

Judging by the log files, I assume this is because it is trying to connect with an older TLS version, which as of today is no longer available - https://devblogs.microsoft.com/devops/azure-devops-services-to-require-tls-1-2/

So I followed the instructions on how to make sure TLS 1.2 was enabled, and confirmed my settings in the registry editor and by running the PowerShell script suggested here - https://docs.microsoft.com/en-us/security/engineering/solving-tls1-problem#update-windows-powershell-scripts-or-related-registry-settings

All seems ok, yet it still fails to connect with the same issue. The machine has been restarted as well. If I try the URL it is requesting in the in built Internet Explorer browser, it fails, but with Chrome it succeeds, so it must still be trying to connect with TLS 1.2, but I don't know why. I've tried reinstalling the agent (with the latest build) as well but it fails on the same error. Any suggestions?

ANSWER

Answered 2022-Jan-31 at 23:27

Enabling below Cyphers with IISCrypto on the server helped us fix the issue

Cipher Suites

TLS 1.2 (suites in server-preferred order) TLS

  • _DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 2048 bits FS 256 TLS
  • DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 2048 bits FS 128

This from Vijay's solution

Source https://stackoverflow.com/questions/70929356

Community Discussions contain sources that include Stack Exchange Network

Tutorials and Learning Resources in PowerShell

Tutorials and Learning Resources are not available at this moment for PowerShell

Share this Page

share link

Get latest updates on PowerShell

  • © 2022 Open Weaver Inc.