> From: owner-openssl-us...@openssl.org On Behalf Of Kushner, Rick > Sent: Friday, 20 May, 2011 00:39
> When I run [pkcs12 -export] the program prompts me for my password twice, > and then I get a popup which says, "openssl.exe has stopped working. > A problem caused the program to stop working." (I am using Windows 7) > After I get the error, the .pfx files are still created, but I think > they might be corrupted because they cause a run time, > "CryptographicException was unhandled" dialog, with an > "Unspecified error" in my C# program. <snipped> Are they created with contents or empty? Empty is definitely bad. If some contents, try: openssl pkcs12 -in file.pfx -noout and see if you get any error message. Of course if this openssl is bad (for your system), this operation also may be affected. Try importing each .pfx into another program like IE (really Internet Options to the Windows store) or Firefox; if the file is bad those may describe it better. (If they succeed and you don't want these keys/certs used in those programs, which you likely don't, just delete.) > I don't know if, or how, I might need to install OpenSSL. I just > unzipped it and I running it in the directory where I unzipped > it with my .pem's and .key's in that same directory. Where did you get the openssl program(s) from? Who built it, how? What version? Any patches/mods? Try "openssl version -a". If it is linked dynamically, which is usually but not always the case for Windows builds, check you have the .exe AND two .dll's (normally libeay32 and ssleay32) from the same build either in your current directory, or first in your PATH. OpenSSL doesn't really need to be installed in Windows. OpenSSL itself doesn't use the registry at all. Some functions use a config file, but not pkcs12. The ShiningLight build does use an installer which creates start-menu entries etc. and a Windows-standard uninstaller; you can do these by hand, but it's convenient to have the installer do them automatically and consistently. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org