Re: Create a certificate request with a SN field

2006-03-14 Thread Takaaki Ishii
Hi, Miguel-san wrote: > This certificate request has the next fields: > > "CN=Name, OU=Department,O=Company, L=Valencia, S=Comunidad Valenciana" > > But i would like generate a request with the fields: > > "CN=Name, OU=Department,O=Company, L=Valencia, S=Comunidad Valenciana, SN= 111

Re: CSR create error:couldn't input State or ProvinceName&Locality Name

2006-03-13 Thread Takaaki Ishii
Hi, >I used following command: >"openssl req -new -key key2006.pem -out csr.pem". > > >But I can't input State or Province Name &Locality Name. > > >I checked the CSR file using "openssl req -noout -text -in >csr.pem". >But I couldn't find State or Province Name &Locality Name in this file. >So I

Re: JNI Problems urgent.

2005-04-23 Thread Takaaki Ishii
>Ok well thats not the problem so, its definately in /usr/lib/. I am >having this problem not only on OpenSSL crypto libraries but a very >similiar problem at work with some c crypto libraries we are using. Its >more likely my jni interface thats misbehaving then. (although i did >check it several

Re: JNI Problems urgent.

2005-04-23 Thread Takaaki Ishii
>And where do i set that ? > >> hi, >> BF_set_key is marked as defined in libcrypto.so or libeay32.dll(for windows) >> check if this openssl library is in your library path. It depends on Operating-System you are using. Please set PATH (Windows) or LD_LIBRARY_PATH (at least Linux, Solaris) envir

Re: JNI Problems urgent.

2005-04-20 Thread Takaaki Ishii
Hi, >Hey guys i'm having trouble with a jni interface to OpenSSL. >/home/mcx/Programming/Eclipse/project/lib/libnativebf.so: undefined symbol: > BF_set_key If BF_set_key function is statically linked, you can confirm those symbols in shared object, like: $ nm libnativebf.so U BF_cfb

Re: pkcs12 and JSSE

2002-08-13 Thread Takaaki Ishii
Hi, Tarassov Vadim wrote: >does someone know how should I use openssl pkcs12 program in order to get such keytore store that will be compatible with JSSE? Once I could do that with keytool in Sun's J2EE SDK package. (J2SE's keytool could not handle pkcs12 format, I presume) like: keytool -pk

Re: PEM_read_RSAPublicKey

2001-11-16 Thread Takaaki Ishii
Hylton Tregenza wrote: >Sorry, I asked to early, There is nothing wrong with the code. The file >is not a public key file (or the format isd wrong) How do I extract a >public key file from a certificate? by command line: $ openssl x509 -in cert.pem -pubkey -noout by writing some code:

Re: how do I encrypt large files with rsa ??

2001-01-11 Thread Takaaki Ishii
Hi, [EMAIL PROTECTED] wrote: > >I want to encrypt large files with RSA. At the moment I can encrypt approx. >200 characters at a time. But when I write the encrypted data to disk, how >do I know how much characters to read in to decrypt ?? I thought about the >extra padding bits, so i have to read

Re: SSL_write SSL_read hangs??? Need help.

2000-01-22 Thread Takaaki Ishii
Hello, Grebelsky, Konstantin wrote: >Hi, >I am just beginning with SSL and for now I am trying to get client and >server talking only this is not happening. >The client and server code is provided below. No certification needed at >this time. >Any ideas what I am doing wrong? At first, I have no