Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.5k views
in .NET FTP by (280 points)
Hi

we are the customers of EndterpriseDT.

we are using EnterpriseDT.NET FTP and SFTP API <version>

we are using the API is a SFTP Application which transfers files over FTP

Our service uses certificates to validate client and server.

when we TranSfer file using FTP, using windows service , in LocalSystem Account,

It is transferring sucessfully without any problem;

but when we change the service logon account to Domain User Account; we are getting following error

ERROR LOG BEGIN
===============

2008-07-23 10:33:18,872 [4036] ERROR - Failure occured at the server! Connection Failed.Could not import the private key from the PVK file (am)
2008-07-23 10:33:18,872 [4036] ERROR - STACKTRACE: at d1.b(String A_0, String A_1, Boolean A_2)
at EnterpriseDT.Net.Ftp.Ssl.SSLFTPCertificate.AssociatePrivateKey(String pvkFileName, String password)
at com.vsoftcorp.common.files.ftp.EdtFTPConnection.openSecure()

===============
ERROR LOG END

Any help is Appreciated.

Is this issue resolved in the latest version(5.1.0) released on september 8th 2008?

Note:we are using pfx file to associate Privatekey with the certificate.
Note2 :
edtFTPnetPRO.dll 4.2.0.0
OpenSSL version used is :0.9.8g


Thanks
Surya

1 Answer

0 votes
by (162k points)
If it works with one user and not another, the problem is Windows permissions, i.e. Windows not permitting the account that the system is running under permission to read the private key that has previously been loaded into a Windows Certificate store.

You may need to import your private key/certificate for this user.

Categories

...