Thanks, Nils. But which openssl command can I use to generate a public
key file or extract public key from certificate file?

On Thu, 13 Nov 2003, Nils Larsch wrote:

> Jia L Wu wrote:
> > Hi,
> > I used the following command to creat a signature.
> >
> > "openssl dgst -sign <private_keyFile> -out <outFile> <inputFile>"
> >
> > However why the signature can not be verified using corresponding
> > self-signed certificate.
> >
> > "openssl dgst -signature <signatureFile> -verify <certFile> <inputFile>"
> >
> > What's wrong? Thanks.
>
> What's the error message ? Btw: the '-verify' option expects a public
> key (and not a certificate).
>
> Nils
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to