openssl smime and java

2007-07-04 Thread Кидяев Сергей
Hi All! I'm looking for the sample how I can bind two applications. First uses "openssl smime -sign -binary -signer -inkey -outform DER -nodetach -noattr -nocerts" commant to sign message (it written in PHP and already works). Second written in Java. I'm developing the second application an

Re: using an embedded private key

2007-07-04 Thread Jim Fox
Does anyone know of an alternative for populating EVP_PKEY * that emulates what load_key() does? load_key() is complicated only because it deals with lots of types of files and formats. Presumably you already know the format and location of your key. Just use pkey = PEM_read_bio_Pr

Re: using an embedded private key

2007-07-04 Thread John T. Cox
Jim, Thanks! I looked through the BIO calls. But, I obviously missed that one. Does anyone know of an alternative for populating EVP_PKEY * that emulates what load_key() does? TIA On 7/3/07, Jim Fox <[EMAIL PROTECTED]> wrote: > > So my questions are, how do I replicate what load_key() to pop

Re: sshd crashes

2007-07-04 Thread Richard Koenning
Bhagya Prasad wrote: Hi I am using the following version of openssl - "openssl-0.9.8b-8.3.tlsext" in the CentOS 5 environment. Whenever non-local user logs into the box [ not a system created user ] and logs out sshd segfaults with the following message in /var/log/messages. sshd[9250]: segfaul

Re: ECDSA 224 bit

2007-07-04 Thread Marek Marcola
Hello, > > I am using openssl-0.9.8e. Can someone help me with making use of > > ECDSA with 224bit public and private keys? > You may try something like that: > > 1) Generate and display EC private/public key: > # openssl ecparam -genkey -name secp224r1 -out ec-key.pem > # openssl ec -in e

Re: ECDSA 224 bit

2007-07-04 Thread Marek Marcola
Hello, > I am using openssl-0.9.8e. Can someone help me with making use of > ECDSA with 224bit public and private keys? You may try something like that: 1) Generate and display EC private/public key: # openssl ecparam -genkey -name secp224r1 -out ec-key.pem # openssl ec -in ec-key.pem -tex

Re: small OpenSSL for embedded

2007-07-04 Thread Marek Marcola
Hello, > I need small version of OpenSSL library to build it for embedded ARM > system. I built 0.9.8 version successfully, but it takes >1Mb. Do you know > such an API compatible project ? I tried yaSSL, but it is only partially > compatible with OpenSSL, and the latest versions of telnetd-ssl

small OpenSSL for embedded

2007-07-04 Thread Alex Kums
Hi. I need small version of OpenSSL library to build it for embedded ARM system. I built 0.9.8 version successfully, but it takes >1Mb. Do you know such an API compatible project ? I tried yaSSL, but it is only partially compatible with OpenSSL, and the latest versions of telnetd-ssl and ftpd

ECDSA 224 bit

2007-07-04 Thread C K KIRAN-KNTX36
Hi, I am using openssl-0.9.8e. Can someone help me with making use of ECDSA with 224bit public and private keys? Regards, Kiran

Re: SSL ERROR on verifying Certificate

2007-07-04 Thread Marek Marcola
Hello, > I am trying to verify a certificate with the folowing command line on a > windows 32 bit plateform: > > C:\OpenSSL\bin> openssl verify -CAfile d:\cert.pem d:\cert2.pem > > It replies me: > > d:\cert2.pem: /C=FR/ST=Cote d Or/L=Saint Apollinaire/O=societe des AUTOROUTES > PARIS RHIN RHO

RE: Looking for command in openssl to verify CA

2007-07-04 Thread Marek Marcola
Hello, > I try to Google for openssl x509 -purpose, but no information at all. > What is that ?? I try this command and it gives me : > > Certificate purpose: > SSL client : yes > SSL client CA: no > SSL server : no As you see, your SSL server certificate is not "certified" to this purpose. For SS

SSL ERROR on verifying Certificate

2007-07-04 Thread MAMDY Stéphane
Hi I am trying to verify a certificate with the folowing command line on a windows 32 bit plateform: C:\OpenSSL\bin> openssl verify -CAfile d:\cert.pem d:\cert2.pem It replies me: d:\cert2.pem: /C=FR/ST=Cote d Or/L=Saint Apollinaire/O=societe des AUTOROUTES PARIS RHIN RHONE/OU=DTR/DRTM/RT/OU=P