Connection Issues

133 views
Skip to first unread message

Glenn

unread,
Dec 11, 2015, 8:03:01 AM12/11/15
to wse-php
Hi All,

So I am trying to get a connection to an exposed API and I'm having some difficulty to say the least.  I think I am getting close, but then no... not so much.

So anyways - I'm trying to connect to the ERCOT API and what they have given me is this:


CERT_FILE:
ERCOT CA ERCOT's New Production 2048 Client Root Certificate (converted to PEM and included in my CA file from curl.haxx.se
PRIVATE_KEY:
They also install a private key on my machine which I've exported using certmgrm.msc.


And here is the error I keep getting:

Fatal error: Uncaught exception 'Exception' with message 'Failure Signing Data: error:0906D06C:PEM routines:PEM_read_bio:no start line - 1' in C:\projects\www_inc\lib\wse-php\xmlseclibs.php on line 452

Anyways - if anyone can see something obvious, please chime in.

Thanks!

Glenn

Rob

unread,
Dec 11, 2015, 8:54:23 AM12/11/15
to wse-php
Would need to see the code and how you are loading the certs as its most likely an issue with them after conversion (i.e. often get carriage return characters on windows, etc..)
Reply all
Reply to author
Forward
0 new messages