Title: RE: Need help for X509

I used #define OPENSSL_NO_ENGINE and got the message

cc -g -I../../include -Wall   -c -o mkreq.o mkreq.c

In file included from mkreq.c:13:

../../include/openssl/engine.h:70:2: #error ENGINE is disabled.

gmake: *** [mkreq.o] Error 1

in the engine.h file its given like

#ifdef OPENSSL_NO_ENGINE

#error ENGINE is disabled.

#endif

So any help available on this?


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Girish Venkatachalam
Sent: Wednesday, April 19, 2006 5:58 PM
To: openssl-users@openssl.org
Subject: RE: Need help for X509

the ENGINE interface is the hardware interface of

OpenSSL. If you are not using any cypto hardware you

can safely

#define OPENSSL_NO_ENGINE

CRYPTO_cleanup_all_ex_data() is defined in ex_data.c

file. Make sure your compiler picks up the definition

from there...

--- Namrata Patil <[EMAIL PROTECTED]> wrote:

> I am getting the error below now while recompiling

> for x509 .c files.

>

>

> mkreq.c:39: undefined reference to `ENGINE_cleanup'

>

> mkreq.c:41: undefined reference to

> `CRYPTO_cleanup_all_ex_data'

>

>

> here is the ref to above calls in the mkreq.c

>

>

> #ifndef OPENSSL_NO_ENGINE

>

> #include <openssl/engine.h>

>

> #endif

>

>

> int mkreq(X509_REQ **x509p, EVP_PKEY **pkeyp, int

> bits, int serial, int

> days);

>

> int add_ext(STACK_OF(X509_REQUEST) *sk, int nid,

> char *value);

>

>

> int main(int argc, char **argv)

>

>         {

>

>

> #ifndef OPENSSL_NO_ENGINE

>

>         ENGINE_cleanup();

>

> #endif

>

>         CRYPTO_cleanup_all_ex_data();

>

> }

>

>

> So what I should do for this?

>

>

> ________________________________

>

> From: [EMAIL PROTECTED]

> [mailto:[EMAIL PROTECTED]] On Behalf

> Of Ambarish Mitra

> Sent: Wednesday, March 22, 2006 6:36 PM

> To: openssl-users@openssl.org

> Subject: RE: Need help for X509

>

>

> There is no need to create a new makefile at all. If

> your build was

> successful, you will have the openssl executable(s)

> present already. You

> can use the command line for testing:

>

>

> openssl ca <CA management>

>

> openssl crl <CRL management>

>

> openssl pkcs12 <PKCS management> etc

>

>

>       

>

>       -----Original Message-----

>       From: [EMAIL PROTECTED]

> [mailto:[EMAIL PROTECTED]]On Behalf Of

> Namrata Patil

>       Sent: Wednesday, March 22, 2006 6:17 PM

>       To: openssl-users@openssl.org

>       Subject: RE: Need help for X509

>

>       So this mean it is just enough to create new make

> file to

> compile C files for mkreq and mkca and directly I

> can use X509 utility?

>

>       

>

>      

> ________________________________

>

>

>       From: [EMAIL PROTECTED]

> [mailto:[EMAIL PROTECTED]] On Behalf

> Of Ambarish Mitra

>       Sent: Wednesday, March 22, 2006 6:06 PM

>       To: openssl-users@openssl.org

>       Subject: RE: Need help for X509

>

>       

>

>       x509 ca - all CA management utilities

>

>       

>

>       x509 crl - all CRL management utilities.

>

>       

>

>       etc.

>

>       

>

>       The documentation is there in the site. If you have

> any specific

> questions, do let us know and we shall try to help

> you.

>

>       

>

>       

>

>       "How to create exe for X509?" - There is no need to

> 'create'.

> Once you successfully build, it will be created.

>

>       

>

>               -----Original Message-----

>               From: [EMAIL PROTECTED]

> [mailto:[EMAIL PROTECTED]]On Behalf Of

> Namrata Patil

>               Sent: Wednesday, March 22, 2006 5:55 PM

>               To: openssl-users@openssl.org

>               Subject: Need help for X509

>

>               Hi,

>

>               

>

>               OPENSSL

>               -------

>               demo/x509

>

>               

>

>               

>

>               I noticed that Makefile is not there for X509 in

> demo

> folder.

>

>               So tried to build in X509 by creating new makefile

> and

> was able to get .o and exe for two C files present

> in X509 directory.

>

>               

>

>               I have question about X509 usage. How to test this

> command for OpenSSL?

>

>               I found information about this in OpenSSL document

> online which I am briefing here.

>

>               

>

>               x509 - Certificate display and signing utility.

>

>               The x509 command is a multi purpose certificate

> utility.

> It can be used to display certificate information,

> convert certificates

> to various forms, sign certificate requests like a

> ``mini CA'' or edit

> certificate trust settings.

>

>               Since there are a large number of options they

> will

> split up into various sections.

>

>               So I just don't know how to test this utility for

> OpenSSL.

>

>               How to create exe for X509?

>

>               Please suggest.

>

>               

>

>

=== message truncated ===


__________________________________________________

Do You Yahoo!?

Tired of spam?  Yahoo! Mail has the best spam protection around

http://mail.yahoo.com

______________________________________________________________________

OpenSSL Project                                 http://www.openssl.org

User Support Mailing List                    openssl-users@openssl.org

Automated List Manager                           [EMAIL PROTECTED]

Reply via email to