Re: engine format keys

Geoff Thorpe <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
On October 4, 2005 10:56 am, Kent Yoder wrote:
> Hi Geoff,
>
> > Sorry I didn't notice this earlier. I added some hooks to modssl ages
> > ago to support engine ctrl-commands if that helps. In fact you may
> > have to
>
>   Thanks for the patch.  I don't think I'm going to be able to
> accomplish what I wanted with control commands though.  Basically I
> need my engine's load_privkey function to be called if
> PEM_read_PrivateKey fails, or perhaps explicitly with some option to
> modssl.

Ah, right. You'll also need to ensure that the initialisation order allows 
the engine to be properly initialised (including maybe some control 
commands to prepare anything the engine needs) *before* the key is 
loaded. I have a vague recollection that this isn't the case? Though I 
could be wide of the mark here.

>   Ahh, I see.  Thanks for the info.  I guess the next step is to poke
> the apache2 guys for openssl 0.9.8 support.  I did try compiling 2.1
> beta with it without luck.

I'd suggest you contact Joe Orton - in fact he's probably on this list 
too. If the 2.1 beta (and/or cvs HEAD) don't properly handle 0.9.8, then 
there's a problem.

> Updated patch attached... 

Thanks :-)

Cheers,
Geoff

-- 
Geoff Thorpe
[email protected]
http://www.geoffthorpe.net/

Même ceux qui se sentent pas des nôtres, ne nous voyant plus à genoux,
seront, plus que jamais, chez eux chez nous.
  -- Loco Locass
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.