NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: trent on November 15, 2012, 03:07:46 PM
-
Hi Everyone,
I'm receiving an errorcode (-66) when trying to initialize an SSL WebServer on a clients server. Does anyone know what this errorcode means?
Thanks,
Trent
-
from Netall.Inc;
ERROR:SSLFailedToLoadPrivateKey equate(-66)
So the question is - have you set up the certificates correctly - in the right place?
cheers
Bruce
-
Hi Bruce,
The *.crt and *.key files are in the correct place and the certificate is installed on the PC.
The *.crt file was converted from a *.cer, could it be that the file was not converted correctly or in the right format? Or the *.key file was not made correctly?
Is there anything else I am meant to be doing other than putting these files in the correct place? I tested using SSL on this WebServer in my own testing environment (Server 2003, self made certificates, accessing externally) and it worked perfectly. Just not on the client's environment with their own certificates.
Thanks,
Trent
-
Hi Trent,
maybe open the CER and KEY files in notepad to see if they "look the same" (or at least the same layout) between your test one and the client's one.
Also - of course - make sure you shipped the 4 DLL's needed by SSL into the app folder.
cheers
Bruce
-
I'll give that a go on Monday. Thank you for help Bruce.
-
Hi Bruce,
The key and crt files did not look the same as mine - the key file was converted to the wrong format and the crt file had headers that needed to be removed.
All working now! Thank you.
Regards,
Trent