(tag != V_ASN1_INTEGER) error

2004-10-11 Thread Bilal Ahmed
Hi,

I have used the script CA.all to generate the Root, Server and Client
certificates. Now on the Freeradius Server side, all the required
certificates loaded successfully and the Freeradius Server initializes
successfully.

When I try to initialize my Client, it loads the Client certificate
successfully but while loading the private key (Client certificate and
its Private Key are in the same .der file), it returns with error after
hitting the following line of code:

tag != V_ASN1_INTEGER
{
i=ASN1_R_EXPECTING_AN_INTEGER;
goto err;
}

Value of tag is 16 whereas the code wants it to be V_ASN1_INTEGER (2).
I keep getting this error even after trying it with several different
certificates.

Could someone please help with this issue as to why this is happening?
Should I have the Client Certificate and its private ket in separate
file or it doesn't matter?

Thanks,
Bilal

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: (tag != V_ASN1_INTEGER) error

2004-10-11 Thread Alan DeKok
Bilal Ahmed [EMAIL PROTECTED] wrote:
 When I try to initialize my Client, it loads the Client certificate
 successfully but while loading the private key (Client certificate and
 its Private Key are in the same .der file), it returns with error after
 hitting the following line of code:
 
 tag != V_ASN1_INTEGER

  You don't say which file it is, or where it comes from.  Nice.

  In any case, that code isn't part of FreeRADIUS.  I suggest asking
the authors of the code about the problem.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html