Skip to content

Commit 69869a0

Browse files
committed
Switch DCL to production certificates
1 parent 9820218 commit 69869a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

MatterDotNet/DCL/DCLClient.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ namespace MatterDotNet.DCL
2020
/// </summary>
2121
public class DCLClient
2222
{
23-
const string DefaultEndPoint = "https://on.test-net.dcl.csa-iot.org";
23+
const string DefaultTestEndPoint = "https://on.test-net.dcl.csa-iot.org";
24+
const string DefaultProductionEndPoint = "https://on.dcl.csa-iot.org/";
2425

2526
/// <summary>
2627
/// Matter PAA Trust Store
@@ -59,7 +60,7 @@ public DCLClient()
5960
private static async Task<X509Certificate2Collection> GetCertificates(CancellationToken token = default)
6061
{
6162
HttpClient client = new HttpClient();
62-
Certificates? certs = (Certificates?)await client.GetFromJsonAsync(DefaultEndPoint + "/dcl/pki/certificates", typeof(Certificates), token);
63+
Certificates? certs = (Certificates?)await client.GetFromJsonAsync(DefaultProductionEndPoint + "/dcl/pki/certificates", typeof(Certificates), token);
6364
X509Certificate2Collection collection = new X509Certificate2Collection();
6465
if (certs == null)
6566
return collection;

0 commit comments

Comments
 (0)