Quantcast
Channel: Opinion: Shopify Community - Shopify Apps
Viewing all articles
Browse latest Browse all 11091

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel? by Kabuki Apps

$
0
0

Hi All,

We have just released our newest app on the app store. I just linked the small "app" word so that you don't think this is a marketing attempt.

We do have a strange problem and I would like to ask for advice.

We are using the .NET Client API and on some shops only (the only pattern we can notice is that they are on Professional Level) we get the following error when making an API call:

[WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.]

I have been through all the topics discussing the SSL 3 replacement on the Shopify servers but still this error does not make any sense because of the following:

1. It happens only on shops with paid subscriptions. It does not happen on trial shops.

2. It happens on a call to this end point: /admin/themes.json but does not happen on a prior call to this end point: /admin/shop.json

3. It is withing the .NET Api Client library which should just work as it is the official driver for .NET.

4. We tried to modify the .NET Api Client to include this code:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
        | SecurityProtocolType.Tls11
        | SecurityProtocolType.Tls12

Before making a WebRequest

Still no luck!

Please let me know if you have any idea why our client cannot validate the SSL of the Shopify server on which the shops are running!


Viewing all articles
Browse latest Browse all 11091

Trending Articles