Serverless environment and MTLS

pmili
Tourist
5 0 0

Hey all, I am trying to implement mtls (https://shopify.dev/apps/payments#mtls-configuration) in my next.js payment app that is hosted on Netlify.

It appears that it is practically impossible to do it in this setup, as I would require access to the node.js server instance to do something like this (https://smallstep.com/hello-mtls/doc/server/nodejs). Does anyone have any idea how (if possible) to achieve this, please?

 

Also, as a side note: I tried to implement it using custom node.js server just to see what the procedure should look like, but I keep getting error (`UNABLE_TO_GET_ISSUER_CERT`) so I wonder if the cert is even sent on test payments (I was testing it by initiating the payment on the store - and connected my local instance to the store over ngrok)? 

Replies 0 (0)