Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Certificate Error on Windows 7
jpasint

From: fort lauderdale, FL USA
Posts: 4
Member Since: 12/22/09
posted January 6, 2010 11:07 AM

Good morning all, we are seeing the following event log entry on a new Windows 7 PC that we are testing.

Would greatly appreciate any ideas on how to resolve this.

Thanks.

Joe

Error 1/6/2010 9:11:43 AM Schannel 36882

The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The SSL connection request has failed. The attached data contains the server certificate.
jpasint

From: fort lauderdale, FL USA
Posts: 4
Member Since: 12/22/09
posted January 6, 2010 2:36 PM

Anyone?

Thanks.

Joe
jpasint

From: fort lauderdale, FL USA
Posts: 4
Member Since: 12/22/09
posted January 12, 2010 10:38 AM

Bump......
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 12, 2010 11:07 AM

Hi,
It depends on what you mean by resolve.

To prevent the error, the CA that issued the server's certificate would have to be trusted. This is accomplished by installing the CA's root certificate on the client system.

If you simply want to permit the connection despite not trusting the CA, you can either
a) Set the Ftp.Security property, or
b) Set the Valid argument to true in the Authenticate event.

Hope it helps,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

jpasint

From: fort lauderdale, FL USA
Posts: 4
Member Since: 12/22/09
posted January 19, 2010 10:22 AM

Let me add a clarification here (I'm working with Joe on this problem).

The issue is that IgnoreUntrustedRoot seems to be ignored on Windows 7. We're using a self-issued certificate. It's a private, custom application that's uses Dart's secure FTP client and server to send files back and forth (users aren't even aware it's FTP). Being a private app where we are in control of both ends, we weren't concerned about getting a real cert, we just wanted the encryption. It works fine on 2000, XP and Vista. However, on 7, it raises the error Joe mentioned previously.

Iíve also been trying to get it to work with a real certificate, but also without success. It authenticates OK, but then hangs on the PASV command. Are there any specific requirements for the cert (key size, etc.)? Also, itís a wildcard cert (common name = *.fameinc.com). I added the specific host name as a subdomain to the cert, but it still doesnít work.

Thanks.

Mitch
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted January 20, 2010 6:06 PM

Hi Mitch,
I tried three different types of secure servers, each using a self-signed certificate.
I was able to connect to all three using the ListView sample app on a Windows 7 machine.

In each case, the sample informed me the CA was untrusted, but connected fine when this was ignored.

I assume you have the same problem with the sample application?

Can you try the certificate we include with the product?
If so, does this work?

I am not aware of any specific requirements regarding the certificate, as long as it is valid.

Thanks,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

nowickim

From: Austin, TX USA
Posts: 16
Member Since: 02/13/04
posted June 9, 2010 3:36 PM

Same exact problem here. We have a self-signed cert and our app works great in WinXP but not in Win7 (64-bit FWIW). 

I too am setting the security property to ignore untrusted CAs.

There must be something different about the way I'm setting up my cert compared to how Dart is going things. Any ideas??
mmchenry

From: Fort Lauderdale, FL USA
Posts: 25
Member Since: 10/13/03
posted June 10, 2010 9:41 AM

Upgrading to the latest version solved this. There's no mention of anything like this in the release change logs, but out of desperation I tried installing the latest demo version and it worked.

After confirming I could consistently reproduce the problem by going back to the prior version and solve it by going to the latest, I went ahead and purchased the upgrade and all is well now.
nowickim

From: Austin, TX USA
Posts: 16
Member Since: 02/13/04
posted June 10, 2010 9:46 AM

Thanks for the info!!!!! I'll try it out and if it works for me I'll post accordingly.
nowickim

From: Austin, TX USA
Posts: 16
Member Since: 02/13/04
posted June 10, 2010 10:05 AM

This worked for me as well. Can't believe I didn't try that first. Thanks so much for posting!!
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX