On Mon, Sep 22, 2003, Frank wrote: > Nils, > Humm I tried this and got a error during signing > > 1436:error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public > key typ > e:p_sign.c:101: > > The private key I used was one read in when I generated a DSA > certficate. the headers say DSA > > Any thoughts? Same routine I used for signing with RSA certs >
Due to the way the signing stuff works you need ot use the EVP_dss1() digest for signing with DSA. This is still SHA1 though. Steve. -- Dr Stephen N. Henson. Core developer of the OpenSSL project: http://www.openssl.org/ Freelance consultant see: http://www.drh-consultancy.demon.co.uk/ Email: [EMAIL PROTECTED], PGP key: via homepage. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]