Skip to content

aspnet:7.0 image fails TLS validation for valid Sectigo certificates (works in aspnet:8.0) #6892

@1agro

Description

@1agro

Describe the bug

I'm experiencing TLS validation failures in the official image:
mcr.microsoft.com/dotnet/aspnet:7.0

result:
SSL certificate problem: unable to get local issuer certificate

Which .NET image(s) are you using?

mcr.microsoft.com/dotnet/aspnet:7.0

Steps to reproduce

repro steps:
docker run --rm -it mcr.microsoft.com/dotnet/aspnet:7.0 bash
apt-get update && apt-get install -y curl ca-certificates
curl https://services.siast.com.br

Other information

No response

Output of docker version

Client: Docker Engine - Community
 Version:           28.1.1
 API version:       1.49
 Go version:        go1.23.8
 Git commit:        4eba377
 Built:             Fri Apr 18 09:52:14 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          28.1.1
  API version:      1.49 (minimum version 1.24)
  Go version:       go1.23.8
  Git commit:       01f442b
  Built:            Fri Apr 18 09:52:14 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.27
  GitCommit:        05044ec0a9a75232cad458027ca83437aae3f4da
 runc:
  Version:          1.2.5
  GitCommit:        v1.2.5-0-g59923ef
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions