Re: OpenSSL and MinGW - Error report

2011-02-16 Thread Rui Fernandes
Thank you very much Mounir. It works now. Kind regards, Rui Fernandes On Wed, Feb 16, 2011 at 11:57 PM, Mounir IDRASSI wrote: > Hi, > > Add -leay32 to the end of the gcc command line of order to suppress the > link errors you are seeing. This will help the gcc linker find the missing > symbols

Re: OpenSSL and MinGW - Error report

2011-02-16 Thread Mounir IDRASSI
Hi, Add -leay32 to the end of the gcc command line of order to suppress the link errors you are seeing. This will help the gcc linker find the missing symbols exported by libeay32.a. Cheers, -- Mounir IDRASSI IDRIX http://www.idrix.fr On 2/16/2011 8:07 PM, Rui Fernandes wrote: I've followed

mod_tsa:could not load X.509 certificate

2011-02-16 Thread Yessica De Ascencao
hello! I'm installing mod_tsa over apache2, i follow the configuration but show me the error: [Wed Feb 16 19:51:54 2011] [notice] mod_tsa:database driver is set to: None [Wed Feb 16 19:51:54 2011] [warn] module tsa_module is already loaded, skipping [Wed Feb 16 19:51:54 2011] [warn] module tsa_mod

Re: Error OPENSSL_Uplink(006E9000,08): from Windows Service

2011-02-16 Thread Harshvir Sidhu
I think this solved my problem. http://www.openssl.org/support/faq.html#PROG2 On Wed, Feb 16, 2011 at 12:43 PM, Harshvir Sidhu wrote: > Hi, > I am trying to use OpenSSL in a Windows Service using CAPI to read > Certificates and Pvt Key from Windows Certificate Store. But its giving me > foll

OpenSSL and MinGW - Error report

2011-02-16 Thread Rui Fernandes
I've followed these instructions: "Assuming a default installation (C:\OpenSSL), go to 'C:\OpenSSL\lib\MinGW' and copy all of the files to your MinGW 'lib' directory. Next, copy everything in the 'C:\OpenSSL\include' directory to your MinGW 'include' directory." I've called the bn.h, with: #inc

OpenSSL and MinGW

2011-02-16 Thread Rui Fernandes
Hi again, I've downloaded the package OpenSSL for Windows32 - I've intended to use it with MinGW. The application created a folder, C:\OpenSSL-Win32. My questions - since I'm a newbie - are (if someone can help me): 1) What do I place and where inside MinGW? I've tryed putting the entire folder i

Error OPENSSL_Uplink(006E9000,08): from Windows Service

2011-02-16 Thread Harshvir Sidhu
Hi, I am trying to use OpenSSL in a Windows Service using CAPI to read Certificates and Pvt Key from Windows Certificate Store. But its giving me following error. OPENSSL_Uplink(006E9000,08): no OPENSSL_Applink The same code runs as Desktop Application, but wh

OpenSSL and MinGW

2011-02-16 Thread Rui Fernandes
Hi again, I've downloaded the package OpenSSL for Windows32 - I've intended to use it with MinGW. The application created a folder, C:\OpenSSL-Win32. My questions - since I'm a newbie - are (if someone can help me): 1) What do I place and where inside MinGW? I've tryed putting the entire folder i

Re:Re: at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-16 Thread lzyzizi
Sorry, I made you confusing. 1)I just want to say that it depends on your needs to call SSL_CTX_free().For example ,you develop an application that needs user to import the certificate .If the user import the wrong certificate , you may not call SSL_CTX_free to free the SSL_CTX object.You may t

Problem with multiple level CA

2011-02-16 Thread Tanya Lozovaya
Hi guys, I have tried to configure multiple level CA structure: ROOT CA -> SIGNING CA -> Users certificates I use RootSSL.cnf file and these commands to generate root certificate: openssl genrsa -des3 -out root-ca.key 2048 openssl req -new -x509 -days 3650 -key root-ca.key -out roo

Re: at what time must I call SSL_free( ) / SSL_CTX_free( )

2011-02-16 Thread Aro RANAIVONDRAMBOLA
2) => OK 1) I do not understand when you say I can also call SSL_CTX_use_certificate_file( ) to load another certificate file ... if it fails how can you load another certificate file ? 2011/2/15 lzyzizi > What time have you to call SSL_free() and SSL_CTX_free() depends what you > want to en

Using openssl with MinGw

2011-02-16 Thread Rui Fernandes
Hi, I've downloaded the Win32 distributable package of openssl - wich, it says - it's compatible with MinGW. I've extracted the contents to a folder. I do I call the library from Mingw C scripts? Where do I put the folder? Can someone help me out? Kind regards, Rui Fernandes

Re: Pass parameter to an engine without entering OpenSSL Prompt

2011-02-16 Thread Torsten Weber
On 02/15/2011 05:01 PM, Dr. Stephen Henson wrote: It can be done in the openssl.cnf file but not in general for all openssl utility subcommands. Steve. Thanks, that worked. In my engines section I can write: MY_PARAMETER = value MY_PARAMETER2 = EMPTY One additional (meta-)question: Who should