matching keys

2008-06-11 Thread Brian Smith
I'm attempting to write a C function to match a private key to either it's corresponding public key or certificate for both RSA and DSA algorithms. At this point, I have the keys loaded into their corresponding RSA and DSA structures. From here, what parameter checks are necesary to verify that

OCSP Resources

2008-06-03 Thread Brian Smith
Does anyone know of any substantial documentation/coding examples that may be available (similar to the Networking with OpenSSL book) for using OpenSSL as an OCSP Server/Responder as well as a requestor? Any help would be appreciated! Thanks, Brian

Issue with X509_REQ_set_subject_name on IA64

2008-05-23 Thread Brian Smith
This is a follow-up to my previous post. I have discovered that when using X509_REQ_set_subject_name on my IA-64 system, that it will cause a segfault in x509_name_ex_d2i much the very same as the post linked below. When compiling the OpenSSL library in debug mode, the function operates properly,

Re: Issue with X509_REQ_set_subject_name on IA64

2008-05-23 Thread Brian Smith
Thank you for your input Dr. Henson, the following seems to work without error. What is the procedure from here to get the relevant changes into the baseline? http://cvs.openssl.org/chngview?cn=16662 Thanks, Brian Smith On 5/23/08, Dr. Stephen Henson [EMAIL PROTECTED] wrote: On Thu, May 22

Problem with X509_REQ_set_subject_name

2008-05-22 Thread Brian Smith
I am working on a function to create a CSR from OpenSSL 0.9.7m. So far, my function runs perfectly on x86_64, win32, solaris, and SGI, but seems to create a segfault on Linux ia64. Basically it goes like this: Open the private key PEM_read the private key create a new X509_REQ

X509_verify_cert question

2008-05-20 Thread Brian Smith
I am currently working on a wrapper around the X509_verify_cert function using 0.9.7m compiled on win32 via Cygwin in C and I'm having a few issues. It seems when I run my verify wrapper function in my test bench (it creates csr's, certificates, crl's, and does validation, printing, etc