Virtual-environments: NSIS package cannot be downloaded due to certificate error.

Created on 11 Aug 2020  路  2Comments  路  Source: actions/virtual-environments

Tool information

Area for Triage:

Area: Packages

  • valueFor: 'Area for Triage'
    contains: 'Packages'
    addLabels: ['Area: Packages']

Question, Bug, or Feature?:
bug

Virtual environments affected

  • [ ] macOS 10.15
  • [ ] Ubuntu 16.04 LTS
  • [ ] Ubuntu 18.04 LTS
  • [ ] Ubuntu 20.04 LTS
  • [ ] Windows Server 2016 R2
  • [x ] Windows Server 2019

Can this tool be installed during the build?
NO - The download URL of this package nsis has an expired certificate so building the VM fails trying to install the package.

======
vhd: Attempt to get headers for https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe failed.
vhd: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe'. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
vhd: Downloading nsis.install
vhd: from 'https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe'
vhd: ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://astuteinternet.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe'. Exception calling "GetResponse" with "0" argument(s): "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."
vhd: This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
vhd: The install of nsis.install was NOT successful.
vhd: Error while running 'C:\ProgramData\chocolatey\lib\nsis.install\tools\chocolateyInstall.ps1'.

Tool installation time in runtime
NA

Are you willing to submit a PR?
NO

Windows bug

All 2 comments

Hello, @RFB007
We have prepared temporary workaround https://github.com/actions/virtual-environments/pull/1392 PR to fix this issue.

@RFB007, Fix has been merged to the main branch. Please pull the latest change.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trajano picture trajano  路  3Comments

raulpopadineti picture raulpopadineti  路  3Comments

Poolitzer picture Poolitzer  路  4Comments

ethomson picture ethomson  路  4Comments

Tnze picture Tnze  路  4Comments