0

I'm kinda new to this topic so please be gentle ;) I'm attempting to use a 3rd-party Health API called Dossia (http://dossia.org).

I setup a test account and have received my OAuth Consumer Key and Secret, in the config there's a line which says

define('USER_SIG_METHOD','HMAC-SHA1');

My question is how do I make my server's "Signature Method" HMAC-SHA1?

This is just a non-ssl dev box with Fedora, I do have a production box with SSL on it, but I was hoping to get a sandbox post before moving it to production.

When I curl a post, I get a 404 error and the curl handle's info reads this:

 [ssl_verify_result] => -8179

So I'm assuming this is the issue, I have scoured their wiki, which is found here however the only thing it says about the signature method is that they only support HMAC, do I need to include a certificate like the one on my prod box? Or am I going in completely the wrong direction?

Any advice would help me, Thank you!

4

1 に答える 1

0

署名方法はここでは問題ではありませんでした。適切な患者に投稿するためにレコードIDの一貫性が必要な問題でした。

于 2010-09-21T18:05:39.010 に答える