problem creatin pkcs12 file

2005-10-17 Thread Robert Kwiencien
I try to create the pkcs12 file with: [EMAIL PROTECTED] CA]$ openssl pkcs12 -export -in newcert.pem -inkey private/cakey.pem -certfile cacert.pem -name Laser -out testcert.pem Enter pass phrase for private/cakey.pem: My pass phrase is corrent, but then I get: No certificate matches private

Re: problem creatin pkcs12 file

2005-10-17 Thread Olaf Gellert
Robert Kwiencien wrote: I try to create the pkcs12 file with: [EMAIL PROTECTED] CA]$ openssl pkcs12 -export -in newcert.pem -inkey private/cakey.pem -certfile cacert.pem -name Laser -out testcert.pem Enter pass phrase for private/cakey.pem: My pass phrase is corrent, but then I get:

Re: problem creatin pkcs12 file

2005-10-17 Thread prakash babu
Hello Bob The problem is that your private key does not match the certificate. Though you specified the password correctly,the key specified using the -inkey optiondoes not match the certificate specified using the -in option. I think you have specified the opposite values for -inand -certfile

Questions about TLS record behaviour.

2005-10-17 Thread Katie Lucas
I have a couple of questions about the records which are passed between SSL sockets. I understand application level messages are chunked, encrypted, transmitted, dencrypted, and de-chunked. At the point at which they are chunked, does any gathering take place? In particular, is the tranmission

RE: Base64 Help

2005-10-17 Thread Adam Jones
int main (void) { BIO *bmem, *b64; BUF_MEM *bptr; char message[] = Hello World \n; int written = 0; b64 = BIO_new(BIO_f_base64()); bmem = BIO_new(BIO_s_mem()); b64 = BIO_push(b64, bmem); written = BIO_write(b64, message, strlen(message)); cout written endl; BIO_get_mem_ptr(b64,

Re: Base64 Help

2005-10-17 Thread Dr. Stephen Henson
On Mon, Oct 17, 2005, Adam Jones wrote: int main (void) { BIO *bmem, *b64; BUF_MEM *bptr; char message[] = Hello World \n; int written = 0; b64 = BIO_new(BIO_f_base64()); bmem = BIO_new(BIO_s_mem()); b64 = BIO_push(b64, bmem); written = BIO_write(b64, message,

Re: Base64 Help

2005-10-17 Thread Rich Salz
// Set up a base64 encoding BIO that writes to a memory BIO. BIO* b64 = BIO_new(BIO_f_base64()); BIO* out = BIO_new(BIO_s_mem()); BIO_set_flags(out, BIO_CLOSE); // probably redundant b64 = BIO_push(b64, out); // Send the data. // e.g.,

RE: Base64 Help

2005-10-17 Thread Adam Jones
Thank you! It finally works...It appears you have to flush the BIO before you get a pointer to it (as shown in your code below. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Salz Sent: Monday, October 17, 2005 12:41 PM To: Adam Jones