PDA

View Full Version : Problems with SSL & POST'ing



RoffaBoffa
13th December 2011, 14:47
I have problems getting my POST operation to work using SSL.
I have tested the code with my own Apache server and self-generated Private Key file and a corresponding Certificate file, and it seems OK.

BUT: When moving from the "test bed" to the "real thing", it all went sour:
I received a PFX file from the party running the server that is to receive my POST.
I used openssl to convert this to a PEM format file, but I'm not able to extract any PRIVATE KEY data from this PFX file.
Using only the converted PEM certificate file gives me error code 99 when the transmission finishes ("an unknown network-related error was detected").
On the server side, no activity is detected in their network logs, so it seems like my data never leaves the client machine...

I'm not sure what's wrong here: Is it the PEM file I made from the PFX file? Is it the fact that I have no private key file available? Or, what?

I wish I could have said: "Thank God it's Friday". Alas, I'm still writing Tuesday.