 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
leehanken Guest
|
Posted: Thu Dec 21, 2006 11:04 pm Post subject: https connection |
|
|
Hello, I am looking at converting some Java code into Delphi, and need
to communicate with a server using HTTPS.
Can anyone suggest open-source code or components that would implement
an https connection.
So far I have looked at libcurl
Any suggestions appreciated |
|
| Back to top |
|
 |
leehanken Guest
|
Posted: Sat Dec 23, 2006 8:35 pm Post subject: Re: https connection |
|
|
leehanken wrote:
| Quote: | Hello, I am looking at converting some Java code into Delphi, and need
to communicate with a server using HTTPS.
Can anyone suggest open-source code or components that would implement
an https connection.
So far I have looked at libcurl
Any suggestions appreciated
|
I am now using Indy 9 with the TIdHttp control
I get the message 'Error connecting with SSL'
The server works okay when I connect to it from java.
I have created and signed my own certificate
I am wondering whether Java has anything built in, such as valid
development certificates, that Delphi doesn't?
My code is basically:-
IdSSLIOHandlerSocket1.SSLOptions.Method := sslvSSLv2;
HTTP.Request.ContentType := 'application/x-www-form-urlencoded';
with HTTP do begin
try
HTTP.Post('https://www.myserver.com/script', Params,aStream);
.... |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|