Lisp HUG Maillist Archive

How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl

I'd like to use Postmodern via SSL.

CL+SSL (OpenSSL?) has a problem with setting up a unilateral SSL 
connection (which someone else confirmed also exists with SBCL).

Lispworks works fine. Is there a way to get Postmodern to use the socket 
set up by Lispworks instead of one by CL+SSL? Despite some extensive 
looking, I couldn't get Postmodern to use the Lispworks connection.

Or is there some older version of CL+SSL which makes an SSL connection? 
This is what I get:

CL-USER 489 > (cl+ssl:make-ssl-client-stream (cl+ssl:stream-fd 
*standard-output*))

Error: A failure in the SSL library occurred on handle #<Pointer to type 
:VOID = #x026C70E8>. (Return code: 1)SSL error queue:
error:140C5042:SSL routines:SSL_UNDEFINED_FUNCTION:called a function you 
should not call


Mitch


Re: How to use Lispworks comm package for SSL access in Postmodern instead of cl+ssl


On Sep 6, 2009, at 8:45 AM, Mitch Berkson wrote:

> Lispworks works fine. Is there a way to get Postmodern to use the  
> socket set up by Lispworks instead of one by CL+SSL? Despite some  
> extensive looking, I couldn't get Postmodern to use the Lispworks  
> connection.

I can't help you with this, but I'll suggest an alternate approach.  
Install OpenSSH and setup a SSH tunnel, e.g.


ssh -f -N -L 5455:localhost:5432 -l user host.com


Then you just connect to Postgres on localhost:5455 and let SSH take  
care of the encrypted connection to the remote host.




John DeSoi, Ph.D.





Updated at: 2020-12-10 08:40 UTC