I am looking to integrate with Shopify and I need to purchase a certificate that will be used in order for us to send queries to the shopify API and back.
I am looking for some guidance on what is required in the certificate in order for shopify to accept the request.
I have already added the Self Signed Shopify Certificates. Now I just need some details on the certificate we need to use to send the request back. Anyone that can help?
It took me a lot of time trying to do this at code level but could not implement it.
At the end, I was able to configure this at server level using Apache. Below is the configuration.
Implement a set of Apache 2.4 directives, shown below, that require the client to support mutual TLS. They can be applied to specific directories or to all incoming connections. See the Apache2.4 SSL documentation for more information.
Your web server is now configured to use mutual TLS to require the client (Shopify) to provide its certificate to identify itself. The next step is to use the client’s identity for access control. This example for Apache 2.4 is applied to a specific directory.
<Directory "/payments">SSLOptions +StdEnvVars</Directory>
The above example sets the SSL library to create environment variables with information from the client’s certificate.
I hope this helps.