Dart Home | PowerTCP SSL for ActiveX | Custom Development | Reply | PowerTCP SSL for ActiveX Topics | Forums |
Author | Forum: PowerTCP SSL for ActiveX Topic: Can I replicate what the Filezilla FTPS Client Does? |
PeteY From: London, United Kingdom Posts: 34 Member Since: 01/13/03 |
posted September 5, 2008 9:12 AM If I use the Filezilla FTPS client on login I get a view of the FTPS Server certificate and an option to "Always Trust this certificate" and then don't get bothered again. Presumably Filezilla stores the certificate for future validation. Is it possible to do this using the PowerTCP tools (ActiveX) without using the Certificate Manager or MMC? |
K M Drake From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted September 5, 2008 11:28 AM Hi, Sure, your application could do this. You would just need to save the certificate's information (provided in the Authenticate event RemoteCertificate arg) in some type of persistent storage. Then, in the event, check your storage for matching certificate info, and set the Valid arg to true if there is a match. Hope it helps, -ken ------ |
PeteY From: London, United Kingdom Posts: 34 Member Since: 01/13/03 |
posted September 5, 2008 12:18 PM Thanks Ken, I'll do it the way you suggest. I was curious whether I should try and store or inport the actual certificate (as given in RemoteCertificate) into a Certifcate Store or something rather than the properties of the certificate. Sorry, a quick follow on: The Filezilla client displays a "Fingerprint (SHA1)" key which is presumably unique to the certificate. I'm assuming that I can't get this key via the RemoteCertificate properties? Thanks again. |
K M Drake From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted September 5, 2008 4:44 PM Hi, It looks like there is a SerialNumber property, and this, along with the Issuer, is what we recommend using. If you would like more properties added to the Certificate class, we may be able to do it as a custom development project. -ken ------ |
Reply | PowerTCP SSL for ActiveX Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |