Re: Private Key from Windows Cert Store

2010-11-26 Thread So Gerald
I think you may use the CAPI engine instead. 2010/11/24 Fili, Tom > I'm trying to load a private key file of a personal cert from a key file > and load it like so: > > SSL_CTX_use_PrivateKey_file(pSSLContext, privateKeyFile, SSL_FILETYPE_PEM) > > However the certificate is in the Windows Certif

Re: Question of openssl compilation

2010-10-18 Thread So Gerald
You might edit that Makefile for this yourself. 2010/10/8 HU Chengzhe > > Hello, > >I use follow command to compile openssl-0.9.8o >1) ./Configure solaris-sparcv9-cc > --prefix=MY_OPENSSL_INSTALL_DIRECTORY shared >2) make > 3) make install > > I can compile it successfully and

Re: Regarding intermediate CA

2010-10-17 Thread So Gerald
inside the file "openssl.cnf" let CA:TRUE 2010/10/15 Neeraj Jain > Hello, > > > > We want to implement Root CA à intermediate CA à Server certs, but we are > not able to create intermediate CA, it would be great if you can help me. > > > > Thanks, > > Neeraj Jain > > >

Re: Creating a certificate with Unicode characters in Issuer and Subject

2010-02-24 Thread So Gerald
I'm a Chinese and had tried it. Because of the terminals do not suport UTF-16 charaters you can't make certificates UTF-16 strings inside. To do this, you must write your own program to call openssl's functions. 2009/11/19 Shaw Graham George > Hi, > > I have a requirement to make some test keys/

Re: OpenSSL 1.0.0 beta5 release (Build Broblem)

2010-01-26 Thread So Gerald
perl Configure VC-WIN32 -DOPENSSL_SSL_CLIENT_ENGINE_AUTO=capi -DOPENSSL_CAPIENG_DIALOG ms\do_ms nmake -f ms\ntdll.mak .\engines\e_capi.c(466) : error C2220: warning treated as error - no object fil generated .\engines\e_capi.c(466) : warning C4013: 'OPENSSL_isservice' undefined; assumin exte

Re: OpenSSL 0.9.8m-beta1 release (Build Broblem)

2010-01-25 Thread So Gerald
I built it with VC-Win32 and got a problem: perl Configure VC-WIN32 no-hw enable-capieng -DOPENSSL_ SSL_CLIENT_ENGINE_AUTO=capi -DOPENSSL_CAPIENG_DIALOG ms\do_masm nmake -f ms\ntdll.mak .\ssl\d1_both.c(992) : warning C4761: integral size mismatch in argument; conversion supplied .\ssl\d1_both.

Re: how to process CRMF request generated from mozilla

2009-07-16 Thread So Gerald
Openssl can't do this yet. You may write it yourself. 2009/5/31 tito > how do I sign a certificate in openssl with the CRMF string generated from > mozilla . >

Re: PHP Open SSL

2009-07-16 Thread So Gerald
The length of data to encrypt is limited depends on the key size you used, so that you can not encrypt all text by openssl_public_encrypt() simply. To do this you should reference to 'S/MIME'. 2009/7/14 mahendra [MinG] > Hi, i am developing a secure email application whereby the email sent to >

Re: Public Key generation.

2009-07-16 Thread So Gerald
you have to gererate private key previously. 2009/7/16 sdc186 > > Hello Everyone, > > I am using openssl 0.9.8g. Can anybody tell me how to generate public key > in > openssl. Which command should I use for the generation? > > Thanks. > -- > View this message in context: > http://www.nabble.com/

Re: Custom Fields in X.509 Certificate

2009-06-30 Thread So Gerald
you can try this: "Netscape Comment" 2009/6/30 Bruce Stephens > Martin Schneider writes: > > [...] > > > I want to include some kind of meta information into certificates, e.g. > > > > foo = x > > bar = y > > baz = z > > > > A collegue of mine recommended to use the "subject alternative name" >

Re: Hello

2008-10-14 Thread So Gerald
Yes 2008/8/23 Nguyen, Harris <[EMAIL PROTECTED]> > Hello, > Is this the right place to ask Openssl programming issues? > Thanks > > Harris Nguyen > __ > OpenSSL Project http://www.openssl.org > Use

Re: Remove Ask for a pass phrase

2008-10-14 Thread So Gerald
char passwd[] = {0} 2008/8/27 delcour.pierre <[EMAIL PROTECTED]> > Hello everyone, > > I'm trying to load a private key with this function : > > /EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x,pem_password_cb *cb, > void *u);/ > > I use it this way : > EVP_PKEY* key = PEM_read_Privatekey(fi

Re: Leaks X509

2008-10-14 Thread So Gerald
X509_free(x); 2008/10/2 David Schwartz <[EMAIL PROTECTED]> > > Stanislav Mikhailenko: > > > Hello I use openssl 0.9.8i in my project under Win32. > > There are some leaks detected when i do just it: > > > > X509* x=X509_new(); > > X509_free(); > > > > It was in previous versions too.

Re: Build static openssl

2008-10-14 Thread So Gerald
If you compile OpenSSL with VC,please do "nmake -f \nt.mak" instead of ntdll.mak. MingW do also dynamic and static compiling at one time. 2008/10/13 Prathima Dandapani -X (pdandapa - HCL at Cisco) < [EMAIL PROTECTED]> > Hello All, > > Can anyone tell me how to create statically linked

Re: Microsoft Visual C++

2008-10-14 Thread So Gerald
As I know,Microsoft Visual C++ Express do not support multithread programs correctly and OpenSSL needs to work at multithread mode. So you should use the other version of compiler instead. 2008/10/11 Michael Luich <[EMAIL PROTECTED]> > On Fri, Oct 10, 2008 at 9:25 PM, Thomas J. Hruska > <[EMAIL P

Re: Creating certificates

2006-04-25 Thread So Gerald
I'm not sure what's wrong. I think that you might read the configuration file of openssl carefuly. Can you show out you resaults in BASE64 format in order to let others to test then for you? 2006/4/25, nduval (sent by Nabble.com) <[EMAIL PROTECTED]>: I have installed openssl and am hoping to use it

Re: Smartcard Authentication

2006-04-21 Thread So Gerald
A1:Nothing to do because the Windows would do it automaticaly by a "CSP" A2:Search in MSDN with the keyword "make a PKCS#10 request"  2006/4/22, Sven Löschner <[EMAIL PROTECTED]>: Hello,At the moment I have a site, where a user can login with a certificate Icreate and give to him. No problems so fa