File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments