Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Serverless environment and MTLS

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)