Author | Forum: General Questions Topic: Which Tool I can Use ? |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 13, 2003 8:17 PM Hi, I need to develop a client application with SSL/TLS security. We have our linux based server. Its like FTP Server but not ftp server. all the commands are different from the normalized FTP Server. So, I need to write a windows based client for our server with TLS/SSL security as my server supports it. For communicating with our server over TCP conneciton, and getting response form server , which tool i can use from your dart products ? and moreover I want to develop the client using Visual Basic 6.0. Please reply me soon. thanking you regards praveen |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 13, 2003 10:16 PM That would be the SSL tool. You would use the SecureTcp control. |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 13, 2003 11:04 PM I just tried with that. When connecting itself it gives the error that server could not be authenticated. I just used the example provided with that by changing the port number and protocol to TLS. my server supports TLS. so what would be the problem ? Regards Praveenp |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 13, 2003 11:16 PM What happens if you choose Auto? That works every time for me. |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 13, 2003 11:25 PM with auto also same thing. It gives the same error. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 13, 2003 11:37 PM Is the server available on the internet for me to try and connect to? I don't have to login, just connect. |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 13, 2003 11:37 PM I tried the following SecureTcp1.Timeout = 0 SecureTcp1.Protocol = secureTLS SecureTcp1.Connect Host, Port It gives the error : 12012:Server Could not be authenticated. and i tried with securetcp1.protocol=secureAuto then also same error..... I dont know whats wrong ? Praveen |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 13, 2003 11:47 PM Ok, I will get the ip from our admin and let you know. Praveen |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 14, 2003 12:01 AM ya, these are my serve details. it support TLS/SSL. Server is pure-ftpd IP: 218.154.19.20 USER: t1 PASS: 1 PORT: 21 Please try and let me know Praveen |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 14, 2003 1:56 AM Hi Tony, Did you check with our server ? is it connecting with SSL/TLS ? Praveen |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 14, 2003 9:06 AM The server is answering non-securely at first. It is expecting you to send "AUTH TLS<crlf>". After you get the response you have to switch to secure mode. |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 14, 2003 6:57 PM But how can i achieve this with Powertcp ssl ? When we set protocol to none, in middle of the sesion we can not change to the secureTLS or any other protocol mode right ? can you suggest me something ? praveen |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 14, 2003 11:27 PM I'm pretty sure you can, though I have not tried it with the ActiveX stuff (only with SslSockets for .NET) |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 14, 2003 11:34 PM Hi, First I tried with security none. and then after connecting I sent AUTH TLS command and got reply OK. After this I made security to secureTLS. but in this case socket disconnects. I wonder how can i switch to secure mode? is it possible for you to findout your tech staff and let me know ? thanking you regards praveenp |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 14, 2003 11:51 PM Try secureAuto and see what happens. If that doesn't work, put code in the Authentication event to see if the certificate is being rejected for any reason. If you still can't make it work, let me know and I will try it out on Monday when I get back to work. |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 14, 2003 11:59 PM Ya I tried with SecureAuto also. But still the same error it gives. and I observed at the Authenticate event. But It didnt go there at all. Connect itself fails and gives the error server could not be authenticated. Ok, Please try when you comeback to the work and let me know. Meanwhile, I will also try some combinations. thanking you regards praveenp |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 15, 2003 4:21 PM I just ran some tests and I don't have good news, unless you can switch to .NET. The ActiveX controls that come with the tools were never designed to do what you are trying to do. They close the connection when you switch security. However, if you can switch to VB.NET you will be able to use our SSL Sockets for .NET product to do it. I just verified it and it worked fine. I have put in a feature request to add this functionality to the tools. If you want to check on the issue, the number of the issue is 2154. Please contact support@dart.com for more info. |
pampati praveenp@storageone.co.kr From: seoul, South Korea Posts: 15 Member Since: 11/07/03 |
posted November 16, 2003 8:09 PM THank you for Your Quick Response. Praveen |
Reply | General Questions Topics | Forums |
This site is powered by
![]() |