0

I followed the instructions at the Xero developer network to set up my Win 64 public and private key, and registered a demo app.

I am using the code at the API .net framework 4 source`

When I try and run a unit test from the CoreTest project it fails.

I edited the CoreTests\App.Config to use the values from my registered app with

<add key="SigningCertificate" value="C:\OpenSSL-Win64\bin\public_privatekey.pfx"/>

When I run a test I get the error

enter image description here

I am wondering do I need to register the .pfx somewhere?

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Kirsten
  • 15,730
  • 41
  • 179
  • 318

1 Answers1

0

I had actually forgotten to take the last step to construct the .pfx

openssl pkcs12 -export -out public_privatekey.pfx -inkey privatekey.pem -in publickey.cer
Kirsten
  • 15,730
  • 41
  • 179
  • 318