RE: ASN1_TIME

2002-10-11 Thread Alexey S. Poluntchenko
Try this one ASN1_UTCTIME_get Hi, I want to store certificates in database (Oracle) and I want to have expiration time of certificates stored in DATE column, but I did not find a function that converts ASN1_TIME to time_t or struct tm. Is there such a function? And I want to ask if the expira

PEM_write_X509 - access violation

2002-09-23 Thread Alexey S. Poluntchenko
code:   // prepare x509 content   FILE *fp = fopen("test.cer", "wbr+"); // not null   PEM_write_X509(fp, x509); // <- access violation (i'm using win2k pro)   fclose(fp);   could any body tell me the reason?   thanks wbr  

Re: howto create your own certificate

2002-09-23 Thread Alexey S. Poluntchenko
There r no such a directory exists. I saw the selfsign.c in demos but it throws an exception (access violation) in callback function when dumping to console (PEM_write_X509 & X509_write_fp). whats the problem? thanks in advance > On Mon, Sep 23, 2002 at 03:19:29PM +0400, Alexey S. Polun

howto create your own certificate

2002-09-23 Thread Alexey S. Poluntchenko
using openssl X509 api ? mb any examples exist ?   thanks