Newbie question (HTTPS/SSL/XML)

Giganews Newsgroups
Subject: Newbie question (HTTPS/SSL/XML)
Posted by:  Molando (a…@cd.de)
Date: Thu, 20 Jan 2005

All I am trying to do is post some xml to a secure address
I downloaded the OpenSSL DLL's for Indy

edit1.text := https://www.test.com/test
memo1.lines.text := <whatever xml>

I drop down a TidHTTP and a TIdSSLIOHandlerSocketOpenSSL Component

idHTTP1.ioHandler := IdSSLIOHandlerSocketOpenSSL1;
IdSSLIOHandlerSocketOpenSSL1.port := 443;
IdSSLIOHandlerSocketOpenSSL1.destination := edit1.text + ':443';
IdSSLIOHandlerSocketOpenSSL1.Host := edit1.text;
idHTTP1.post(edit1.text,memo1.lines.text);
memo2.lines.text := idHTTP1.Response.ResponseText;

I then see ErrorConnecting with SSL.

What properties am I missing, or setting badly?
Are there any demos, or any other documentation at all covering any of this?

  Thanks in advance,
    Molando.

Are there any demonstrations for this

Replies