runner-images
runner-images copied to clipboard
Win2022 Install VSExtensions Error: Could not establish trust relationship for the SSL/TLS secure channel
Description
The Windows 2022 build script Install-VSExtensions.ps1
run into error as the title showed.
Platforms affected
- [X] Azure DevOps
- [ ] GitHub Actions - Standard Runners
- [ ] GitHub Actions - Larger Runners
Runner images affected
- [ ] Ubuntu 20.04
- [ ] Ubuntu 22.04
- [ ] Ubuntu 24.04
- [ ] macOS 12
- [ ] macOS 13
- [ ] macOS 13 Arm64
- [ ] macOS 14
- [ ] macOS 14 Arm64
- [ ] Windows Server 2019
- [X] Windows Server 2022
Image version and build link
20240811.1.0
Is it regression?
N.A.
Expected behavior
Install successfully
Actual behavior
==> azure-arm.image: Provisioning with powershell script: /agent/_work/1/s/images/windows/templates/../scripts/build/Install-VSExtensions.ps1
azure-arm.image: There is an error encountered:
azure-arm.image: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
azure-arm.image: Waiting 30 seconds before retrying. Retries left: 19
azure-arm.image: There is an error encountered:
azure-arm.image: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
azure-arm.image: Waiting 30 seconds before retrying. Retries left: 18
azure-arm.image: There is an error encountered:
azure-arm.image: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
...
...
azure-arm.image: Waiting 30 seconds before retrying. Retries left: 3
azure-arm.image: There is an error encountered:
azure-arm.image: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
azure-arm.image: Waiting 30 seconds before retrying. Retries left: 2
azure-arm.image: There is an error encountered:
azure-arm.image: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
azure-arm.image: Waiting 30 seconds before retrying. Retries left: 1
azure-arm.image: There is an error encountered:
azure-arm.image: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
==> azure-arm.image: Provisioning step had errors: Running the cleanup provisioner, if present...
Repro steps
N.A.