wodFtpDLX.net and Private key - WeOnlyDo Discussion board

wodFtpDLX.net and Private key (General questions)

by tcorbett, Friday, November 02, 2007, 14:10 (6231 days ago)

Hi,
I am using wodFtpDlx.net and connecting to a server using SFTP on port 22.
My customer now wants to use certificates and they supplied me with a file with a private key and not use passwords.


File looks like this:

-----BEGIN DSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES...,101AB...

vlgw...
...
...PHoSDVQ67T/HR
-----END DSA PRIVATE KEY-----

I cut out most of data in above example.

What is the easy and proper way to set the privatekey field.
I tried to read the data into a string, but get an error of failed to import key when trying to connect.

I am not that knowledgable on keys and encryption so any and all help would be apprecieated.

Thanks,
Tim


Complete thread: