W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2003

SSL POSTs on Solaris, not working for me

From: Donald Tillman <till@sigaba.com>
Date: Sun, 16 Mar 2003 19:34:27 -0800
Message-id: <2129B7848043D411881A00B0D0627EFE012E35F1@exchange.sigaba.com>
To: "'www-lib@w3.org'" <www-lib@w3.org>
Cc: Donald Tillman <till@sigaba.com>


My goal is a C program running on Solaris 5.8 that performs SSL 
POSTs to a server.

I have been able to get it working pretty well on a Linux 
platform after dealing with a couple of issues:
  The fix to HTSSLWriter.write() for long posts
  Tweaking HTCookies for https.

But the same code doesn't work at all on Solaris.  Specifically, 
I'm calling HTPostFormAnchorToChunk(), 
  this calls HTSSL_Writer_write(),
  this calls HTSSL_write(), 
  this calls SSL_write(), 
  this calls back to veryify_callback() to check the certificate, 
  that returns a 1, 
  then HTSSL_write() returns a -1 error code, 
  and HTSSL_getError() returns a 1,
  and HTSSLWriter_write() closes things down.

So the SSL stream checks the certificate and dies without 

I am using the --disable-shared option to configure.
I'm initializing SSL with the code from the SSL example.
This happens with either HTSSLhttps_init(YES) or HTSSLhttps_init(NO).
OpenSSL passes the 'make test' test fine.

I haven't been able to debug the SSL stream because the PATH part 
of configure's with-ssl=PATH doesn't allow me to substitute in
my own build of OpenSSL.

Versions are:
  SunOS 5.8

Is there a magic incantation that I need to know?

  -- Don
J. Donald Tillman
Principal Member of the Technical Staff
650 572-6107
till@sigaba.com <mailto:till@sigaba.com> 
Received on Sunday, 16 March 2003 22:34:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:55 UTC