Delphi XERO API – Berlin Support

Delphi XERO API has been updated with Delphi Berlin support

More

4 Comments

  1. Richard Griffiths

    Hi Tristan,

    Thanks for this great addon. Just found it and downloaded, and hoping its as googd as it sounds.

    Just trying to configure it. I have the consumer key and secret, but what is the private key please? I tried copying the X509 Public Key Certificate subject information, but I get Exception Notice,

    ‘Expected SEQUENCE identifier ($30) in stream. Found $08.

    Thanks for any guidance

    Reply
    1. support (Post author)

      Ensure you remove the —–BEGIN RSA PRIVATE KEY—– from the key.

      Reply
      1. Richard Griffiths

        the Private_key.pfx file I have isn’t viewable in notepad. I’ve tried certutil -dump to view it. Cant see a BEGIN RSA PRIVATE KEY.

        Thanks

        Reply
  2. Richard Griffiths

    Ok, I’ve downloaded openssl and performed a

    openssl pkcs12 -in myfile.pfx -nocerts -out private_key.pem -nodes

    openssl pkcs12 -in myfile.pfx -nocerts -out private_key.pem -nodes
    openssl rsa -in private_key.pem -out server.key

    opened up the server.key file and copied the code between —–BEGIN RSA PRIVATE KEY—– and —–END RSA PRIVATE KEY—–

    Now i get DEBUG: [Get] Result: False, Response: ERROR: Could not load SSL library. ()

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *