Unable to process Apple pay for web(.Net)

We are trying to implement Apple pay for web using .net technology. but getting following error:


The Specified CGI application encountered an error and the server terminated the process,

status:502


and we have used mechant.cert file generated via apple developer account to create secure httpclient.


we have followed below reference url:

https://www.oshyn.com/blogs/2017/january/apple-pay-development


Please help us with some guide reference.

Replies

I am having the same problem with this issue, have you gotten a resolution yet? I have tired almost everything I can think of. I cannot get it to work in my development environment I get the message:


The request was aborted: Could not create SSL/TLS secure channel.


When I run it on the server I get the following:


Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.


I have tried both the apple pay cert and the merchant cert and same result with both, checked both systems and they are set up for TLS1.2 and it works find on both, and I have specified the setting just as you saw in that blog.. Let me know if you found a way around this,


Thanks!

If you are running this in a .NET environment, you need to give the IIS_IUSRS (or whatever account you have set as the application pool for your website) read access to the certificate you installed in the Microsoft Management Console. Find your certificate in the Personal store (that is where I put mine). Right-click the certificate and go to All Tasks > Manage Private Keys. Click Add and add the IIS_IUSRS (or related account) user and give the user Read access (you may need to give Full Access - I did but do not know if that is necessary).


In other hosting environments you may have to do something similiar.

Hi Guys,


I am facing the same problem, have you guys find out the solution, Please help me .


Thanks,