RE: PEM_read_RSAPublicKey problem

2008-06-26 Thread David Schwartz
> hi again, > i created a publickey.pem with command: > openssl rsa -in myprivate.pem -pubout -out publickey.pem > > then in C i try to read this public key with: > RSA *pubkey = PEM_read_RSAPublicKey(fp, NULL, NULL, NULL) > > where fp is the opened publickey.pem file. > > but it's return this err

Re: gcc problem

2008-06-26 Thread Kyle Hamilton
Include -lcrypto in your command. -lcrypto is a separate library from -lssl, and both are necessary. -Kyle H On Thu, Jun 26, 2008 at 3:35 PM, Marco Sommella <[EMAIL PROTECTED]> wrote: > Hi, > i'm using OpenSolaris 2008.05 snv_91. if i try to compile with gcc -lssl > file.c receive this error: >

PEM_read_RSAPublicKey problem

2008-06-26 Thread Marco Sommella
hi again, i created a publickey.pem with command: openssl rsa -in myprivate.pem -pubout -out publickey.pem then in C i try to read this public key with: RSA *pubkey = PEM_read_RSAPublicKey(fp, NULL, NULL, NULL) where fp is the opened publickey.pem file. but it's return this error: error:0906D06

Re: Bag Attributes Ignored

2008-06-26 Thread Dr. Stephen Henson
On Fri, Jun 27, 2008, Hacker SF wrote: > > Hello Steve. > > Thanks for your quick response. > > Is there any way/chance I can get that patch for the PKCS12_create() function > ?I'm developing a PKI application which uses OpenSSL for creating > certificates and I do need this patch to comple

Re: Bag Attributes Ignored

2008-06-26 Thread Dr. Stephen Henson
On Fri, Jun 27, 2008, Hacker SF wrote: > > Hello Steve. > > Thanks for your quick response. > > Is there any way/chance I can get that patch for the PKCS12_create() function > ?I'm developing a PKI application which uses OpenSSL for creating > certificates and I do need this patch to comple

RE: Bag Attributes Ignored

2008-06-26 Thread Hacker SF
Hello Steve. Thanks for your quick response. Is there any way/chance I can get that patch for the PKCS12_create() function ?I'm developing a PKI application which uses OpenSSL for creating certificates and I do need this patch to complete my application. Thanks a lot again. Sergio. > Dat

gcc problem

2008-06-26 Thread Marco Sommella
Hi, i'm using OpenSolaris 2008.05 snv_91. if i try to compile with gcc -lssl file.c receive this error: Undefinedfirst referenced symbol in file PEM_read_RSAPublicKey /var/tmp//ccIla4Ec.o (symbol belongs to implicit dependency /usr/sfw/lib/gcc/i386-p

RE: upgrading openssl 0.9.8b to openssl-fips-1.1.1

2008-06-26 Thread Bill Colvin
Rabail: openssl-fips-1.1.1 is a 0.9.7 based version of openssl. Therefore, you will be downgrading your 0.9.8b version if you choose to do this. Also, you should be using openssl-fips-1.1.2 now not openssl-fips-1.1.1 as it has fixed a minor problem with the earlier version. You may want to co

Problems with KEY validation on different platforms

2008-06-26 Thread José Leonardo Ayres Pereira
Hello everybody, I have a problem that I consider unusual and hope you can help me with it. I must execute some EDI files transmissions with a customer and these files must go encrypted. So, I’ve generated a CSR file (with the .KEY using a password and all the other stuff) in my machine

How to install PEM format Server Certificate in Windows Server 2003

2008-06-26 Thread Woo, Swee Hong
Hi, I have an application that need to have TLS 1.0 connection. CA root certificate is created and install into client terminal. Then from the CA Root Cert, create the Server Certificate and install into my application server. Both cert created in PEM format. Now my problem is how to install th

Updated Build process for Win CE 6.0?

2008-06-26 Thread Thomas Edgar
Is there an updated build process for the Openssl crypto library for the Win CE 6 platform? The guidance included with the source is outdated, describing tools and libraries that were for Win CE 4. Thanks, Thomas W. Edgar

signature at openoffice with own certifikate with openssl linux fedora7

2008-06-26 Thread angela simonte
Hallo, I am new to openssl and linux and fedora and I had made an own certificate for a digital signature, with the openoffice-howto. But when I want to take the signature in my document .odt it doesn't exists. I learned that the problem is with linux and fedora 7 I don't know about visual basic

Re: Decrypting Fragmented packets

2008-06-26 Thread Marek . Marcola
Hello, [EMAIL PROTECTED] wrote on 06/26/2008 01:56:33 PM: > Well, I tried it like you guys said, but I keep getting an error from > EVP_DecryptFinal_ex() (returns 0) and the resulting decrypted packet that I got is not > right. However, doing it like I said previously, that is reassemblng the

upgrading openssl 0.9.8b to openssl-fips-1.1.1

2008-06-26 Thread rabail javed
Hi , I am upgrading the openssl 0.9.8b to openssl-fips-1.1.1. For doing this i need to delete the previous version and install the newer version according the instructions specified in http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp733.pdf By default all the files(bin, include a

RE: Decrypting Fragmented packets

2008-06-26 Thread David Schwartz
> If I send the message "Hello World" from my server to client > and I capture the aforementioned packet, lets say, I treat it > as two separate records and decrypt each record. I now have > two decrypted records. Should I merge these now? If that were > the case, are you implying that my inital m

Re: Extracting a certificate from a credential

2008-06-26 Thread Olivia Hudson
Thanks! Olivia On 6/26/08, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote: > > On Thu, Jun 26, 2008, Olivia Hudson wrote: > > > Hello All, > > > > I'm new to openssl and was wondering if anyone knows what open ssl API to > > call to > > extract a PKCS7 certificate from a credential(PKCS12). > > >

Re: Decrypting Fragmented packets

2008-06-26 Thread Kyle Hamilton
The TLS layer can break the stream down to any unit that is convenient for it. It could break a "Hello World." string down to "H", "e", "l", "l", "o", " ", "W", "o", "r", "l", "d", "." and put each byte into a separate record. Most will use some multiple of the block size so that minimal padding

Re: Extracting a certificate from a credential

2008-06-26 Thread Dr. Stephen Henson
On Thu, Jun 26, 2008, Olivia Hudson wrote: > Hello All, > > I'm new to openssl and was wondering if anyone knows what open ssl API to > call to > extract a PKCS7 certificate from a credential(PKCS12). > I'm not sure what you mean by "PKCS7 certificate". PKCS7 is (among other things) a format fo

Extracting a certificate from a credential

2008-06-26 Thread Olivia Hudson
Hello All, I'm new to openssl and was wondering if anyone knows what open ssl API to call to extract a PKCS7 certificate from a credential(PKCS12). thanks, Olivia

Re: Problems with KEY validation on different platforms

2008-06-26 Thread Dr. Stephen Henson
On Mon, Jun 23, 2008, Jos Leonardo Ayres Pereira wrote: > > However, the app that I use for the transmissions (IP*Works AS2 EDI > Connector free version) requires a PFX file to sign the sending files. No > problem with that. I’ve generated the PFX using the OpenSSL (openssl pkcs12 > -inkey File.k

Re: Decrypting Fragmented packets

2008-06-26 Thread Vijay Kotari
Well, I tried it like you guys said, but I keep getting an error from EVP_DecryptFinal_ex() (returns 0) and the resulting decrypted packet that I got is not right. However, doing it like I said previously, that is reassemblng the packets and merging them into one and then passing it to the above me

Re: Bag Attributes Ignored

2008-06-26 Thread Dr. Stephen Henson
On Thu, Jun 26, 2008, Hacker SF wrote: > > Hello to all, > > I've been trying to add bag attributes to a PKCS12 certificate using openssl > pkcs12 command (eg, openssl pkcs12 -export -in cert1.pem -CSP "..." -LMK -out > cert1.p12). > All my attempts were unsuccessful. I've got openssl 0.9.8e