> From: owner-openssl-us...@openssl.org On Behalf Of Jesse Keller > Sent: Tuesday, 03 May, 2011 09:17
> I need to generate a CSR, but OpenSSL always crashes. What am I doing wrong? > c:\GnuWin32\bin>openssl genrsa -out switchvox.key 2048 > c:\GnuWin32\bin>openssl req -new -key switchvox.key -out switchvox.csr > -config ..\share\openssl.cnf What you posted looks fine, and even if you did something wrong OpenSSL should never just crash, it should give an error message. Do we assume this is the build at http://gnuwin32.sourceforge.net/packages/openssl.htm described as 0.9.8h (but perhaps patched because it adds -1)? 1. 0.9.8h is pretty old. Checking a few nearby things at random, this whole project appears pretty out of date. (It should still work, but won't include recent features -- and recent security fixes.) Current OpenSSL builds for Windows (but mainly using VC++, not mingw, if that matters to you) are available free at http://www.slproweb.com/products/Win32OpenSSL.html . Or you can build from source given suitable tools. 2. Their -src package is 5 times larger than official source?? 3. If I install just the -bin package on my scratch system (XP SP3) it runs, does not crash, and creates a valid CSR. 4. What Windows are you on, and what exactly do you see? Do you get a fault code? address or EIP? registers? stack? Anything from Dr. Watson? In the event log? Do you have a debugger available? If you run the problem command under a debugger what does it say? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org