Hi
Actually Im working to integrate a proxy with .Net, and I have followed some examples on how to do that. but unfortunately I am not able to figure it out.
so I will explain what I have did:
1- I have downloaded the .Net proxy folder from the internet and have host it on my IIS, so I have test it and all looks OK
2- next, I have updated my proxy.config file as below
<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*"
mustMatch="true">
<serverUrls>
<serverUrl url="https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/"
matchAll="true"/>
</serverUrls>
</ProxyConfig>
3 - finally, I have added on my index js page the following code
urlUtils.addProxyRule({
urlPrefix: "https://domaine.ma/arcgis2/",
proxyUrl: "/ingPro/proxy.ashx"
});
so when I call my service, I got the below error
- code: 500
- message: "La connexion sous-jacente a été fermée : Impossible d'établir une relation de confiance pour le canal sécurisé SSL/TLS. https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/0?f=json"
So could you please help me with the above error ?
Many thanks in advance