residuum / PuRestJson

PuREST JSON is a library for connecting Puredata (Pd) to HTTP services and encoding and decoding JSON data.
ix.residuum.org/pd/purest_json.html
Other
74 stars 9 forks source link

SSL CA cert not working on Mac OS X 10.9 #31

Closed residuum closed 10 years ago

residuum commented 10 years ago

@megrimm reported via Email:

hmmmm...

as soon as I try this on a production machine (not dev machine i compiled on) I get error in the pd console with "the-sound-of-money.pd" example:

Error while performing request: Problem with the SSL CA cert (path? access rights?)

....what could this be? libcurl.dylib permission stuff? im not getting too much info from a quick google search....

osx 10.9

m

residuum commented 10 years ago

You could use the [sslcheck 0( message to disable checking for SSL signatures, but that is only a workaround.

residuum commented 10 years ago

Maybe a check for MAC OS X should be done in purest_json.h, similar to _WIN32, and NEEDS_CERT_PATH should be set to 1. Then, the cacert.pem from http://curl.haxx.se/docs/caextract.html

megrimm commented 10 years ago

that works yes, but does not really fix the issue. your right....

On Sat, Jan 18, 2014 at 6:54 AM, Thomas Mayer notifications@github.comwrote:

You could use the [sslcheck 0( message to disable checking for SSL signatures, but that is only a workaround.

— Reply to this email directly or view it on GitHubhttps://github.com/residuum/PuRestJson/issues/31#issuecomment-32680308 .


m.e.grimm | m.f.a | ed.m. megrimm@gmail.com


residuum commented 10 years ago

Try the changes from branch https://github.com/residuum/PuRestJson/tree/mac-osx-cacert and add cacert.pem to the directory of purest_json as described at https://github.com/residuum/PuRestJson/wiki/Compilation#cross-compilation-for-windows-on-unix-like-systems-linux--bsd--mac-os-x-with-mxe

residuum commented 10 years ago

Should be fixed with commit 8cac1ee2925362a043ebbaeb9fe9b7b40c2c22fb