Skip to content

Commit 3825353

Browse files
committed
trust the http dev-cert
1 parent f66097b commit 3825353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tests/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public async Task WriteToPrivateBasicRegistry()
5454
var registryCertFile = Path.Combine(registryCertsDir.FullName, "domain.crt");
5555

5656
// export dev cert, using --no-password also generates a matching key file
57+
new DotnetCommand(_testOutput, $"dev-certs", "https", "--trust").Execute().Should().Pass();
5758
new DotnetCommand(_testOutput, $"dev-certs", "https", "--export-path", registryCertFile, "--format", "PEM", "--no-password").Execute().Should().Pass();
5859
// start up an authenticated registry using that dev cert
5960
ContainerCli.RunCommand(_testOutput,

0 commit comments

Comments
 (0)