Skip to content

Smoke-test 3.1 issue: "curl: (60) Peer's Certificate has expired." #1788

Closed

Description

@dagood
LOCAL RESTORE SOURCE - ALL TESTS PASSED!
curl: (60) Peer's Certificate has expired.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

##[debug]Exit code 60 received from tool '/bin/bash'
##[debug]STDIO streams have closed for tool '/bin/bash'
##[error]Bash exited with code '60'.

https://dev.azure.com/dnceng/public/_build/results?buildId=839463&view=logs&j=8c35c666-1cc6-56eb-620e-0f6e7d3caf0a&s=149ab9f9-2746-51c3-9bed-64d13cb4f094&t=b30ab823-f7fe-562e-90b7-7ff3e51be1be&l=1420

This may be flakiness.

Based on the log sequence, I think it's this call:

install_script_url=https://dot.net/v1/dotnet-install.sh
install_script_dir=$(mktemp -d)
install_script=${install_script_dir}/dotnet-install.sh
# Use curl if available, otherwise use wget
if command -v curl > /dev/null; then
curl "${install_script_url}" -sSL --retry 10 --create-dirs -o "${install_script}"

Maybe our CA certs are just out of date in that docker image.

Activity

  1. added
    area-testing
    on Oct 2, 2020
  2. dseefeld commented on Oct 8, 2020

    @dseefeld
    Contributor

    Workaround: Manually download and compare and include in release checklist rather than doing this automatically. It's hard to know if a fix is valid because the issue is somewhat flaky.

  3. MichaelSimons commented on Oct 18, 2022

    @MichaelSimons
    Member

    smoke-tests have been reliable since .NET 6.0. This issue is obsolete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions