fips_aes_data file is missing

2006-08-13 Thread sivabalakrishnan
Hi, I have compiled OpenSSL- 0.9.7j in HP-UX and when looking into the source, I  have noticed that the file fips_aes_data is missing.  In the test directory of OpenSSL source there is a fips_aes_data file, which is a link to ../fips-1.0/aes/fips_aes_data.  fips_aes_data -> ../fips-1.0/aes

RE: How to read the RSA key pair easyly into an RSA object?

2006-08-13 Thread Girish Venkatachalam
--- [EMAIL PROTECTED] wrote: > Hello openssl-users, > > I generate an RSA key-pair like this: > openssl genrsa 1024 > And put it's output into a PEM file. > Now I need to read both private and public parts > of the key-pair > into an RSA object in a program. > > This is how I try h

Re: How to read the RSA key pair easyly into an RSA object?

2006-08-13 Thread Dr. Stephen Henson
On Mon, Aug 14, 2006, [EMAIL PROTECTED] wrote: > Hello openssl-users, > > I generate an RSA key-pair like this: > openssl genrsa 1024 > And put it's output into a PEM file. > Now I need to read both private and public parts of the key-pair > into an RSA object in a program. > > This

RE: How to read the RSA key pair easyly into an RSA object?

2006-08-13 Thread kb2wjw
Hello openssl-users, I generate an RSA key-pair like this: openssl genrsa 1024 And put it's output into a PEM file. Now I need to read both private and public parts of the key-pair into an RSA object in a program. This is how I try handling the PEM: fp = fopen( priv_exp, "rb"

Re[2]: How to make base64-encoded file as single-lined?

2006-08-13 Thread генерал Пурпоз
Hello Stephen, Sunday, August 13, 2006, 8:09:19 PM, you wrote: >> > If the base64 encoded file was created using a base64 BIO then the >> > BIO_FLAGS_BASE64_NO_NL flag will do it. >> This is what I did: >> mc_file = BIO_new_file( nowsigned, "wb" ); >> if( mc_file ) >> { >> b64 = BIO_new( BIO_f

Re: How to make base64-encoded file as single-lined?

2006-08-13 Thread Dr. Stephen Henson
On Sun, Aug 13, 2006, ?? wrote: > Hello Stephen, > > Sunday, August 13, 2006, 4:44:27 PM, you wrote: > > If the base64 encoded file was created using a base64 BIO then the > > BIO_FLAGS_BASE64_NO_NL flag will do it. > This is what I did: > mc_file = BIO_new_file( nowsigne

Re[2]: How to make base64-encoded file as single-lined?

2006-08-13 Thread генерал Пурпоз
Hello Stephen, Sunday, August 13, 2006, 4:44:27 PM, you wrote: > If the base64 encoded file was created using a base64 BIO then the > BIO_FLAGS_BASE64_NO_NL flag will do it. This is what I did: mc_file = BIO_new_file( nowsigned, "wb" ); if( mc_file ) { b64 = BIO_new( BIO_f_base64() ); mc_f

Re: Problem to start an SSL session

2006-08-13 Thread Frank Büttner
Krishna M Singh schrieb: > Hi > > You need to call SSL_Connect (if client) or SSL_accept( if server) and > not the SSL_read.. SSL_Connection or ssl_accept internally performs > that.. > > If u do SSL_read before SSL handshake completion, the SSL connection > can't be established.. > > HTH > -Kri

Re: Problem to start an SSL session

2006-08-13 Thread Krishna M Singh
Hi You need to call SSL_Connect (if client) or SSL_accept( if server) and not the SSL_read.. SSL_Connection or ssl_accept internally performs that.. If u do SSL_read before SSL handshake completion, the SSL connection can't be established.. HTH -Krishna On 8/13/06, Frank Büttner <[EMAIL PROTEC

Re: How to make base64-encoded file as single-lined?

2006-08-13 Thread Dr. Stephen Henson
On Sun, Aug 13, 2006, [EMAIL PROTECTED] wrote: > Hello openssl-users, > > For some peculiar reason I need to have a base64-encoded file to be > written as one single line. > Currently I get nice-looking, properly-wrapping files that I have to > edit manually. > What BIO flag should I se

Re: Problem to start an SSL session

2006-08-13 Thread Frank Büttner
David Schwartz schrieb: > So call it after. This is not an "error" but an indication, similar to > EWOULDBLOCK. It is telling you that the operation cannot complete without > blocking and you asked it not to block, so it can't complete now. When I then call SSL_read I will get the same error

recommended reading? - how to create/manage keys for clients?

2006-08-13 Thread l Burnerheimerton
I am a relative newbie to SSL certs but really want to understand them better and use them to help my clients. Here's my basic goal: - generate certificates for client users like, Jane Doe at XYZ Inc,, John Doe at XYZ Inc., ..., Larry Doe at ABC Inc, Paul Doe at ABC Inc,... - I want them to authen

How to read the RSA key pair easyly into an RSA object?

2006-08-13 Thread kb2wjw
Hello openssl-users, I generate an RSA key-pair like this: openssl genrsa 1024 And put it's output into a PEM file. Now I need to read both private and public parts of the key-pair into an RSA object in a program. How do I do it? Is there any special function for that? (The private k