Posts

Post not yet marked as solved
1 Replies
3.1k Views
I am trying to integrate Apple Pay into a .Net Core 2.2 solution and am running into an issue with the Merchant Id Certificate.I receive the following error when attempting to create the Apple Pay Merchant session:--The SSL connection could not be establishedThe remote certificate is invalid according to the validation procedure.--These are the steps I've followed to create the and install the certificate.1) Create CSR (RSA/2048)2) Create Apple Pay Merchant Identity Certificate and download .cer file3) Import the file into the Keychain Access (states in Keychain Access that certificate is valid)4) Export the certificate and private key together as p125) Import the p12 into the Windows machine (local computer/personal/certificates)The error is thrown when posting to the Validation Url with the JSON payload (merchantIdentifier, domainName, displayName).Now if I include code to ignore the certificate error, the Apple Pay merchant session is returned successfully.It appears that there is something wrong with the certificate itself. Why is the certificate not considered valid?Lastly, are there any issues if I moved forward with ignoring the certificate error?Thanks,Scott
Posted
by wagler.
Last updated
.