Re: get subjectAltName

2010-09-23 Thread Naveen B.N
Thank you Christian, it helped to decode the kerberos principal name . The code worked. Regards Naveen Christian Hohnstaedt wrote: On Wed, Sep 22, 2010 at 05:48:07PM +0530, Naveen B.N wrote: Thank you Christian, your suggestions helped us to get the position but as you mentioned the problem

Re: get subjectAltName

2010-09-22 Thread Christian Hohnstaedt
On Wed, Sep 22, 2010 at 05:48:07PM +0530, Naveen B.N wrote: > Thank you Christian, > your suggestions helped us to get the position but as you mentioned the > problem > of resolving to kerberos principal name, i tried Google and added a > piece of code > but i am not getting the out put as sho

Re: get subjectAltName

2010-09-22 Thread Naveen B.N
Attaching the PEM format certificate used , We need to convert it to DER before using it with the below given code. Command to convert PEM to DER openssl x509 -inform PEM -in KDC.pem -outform DER -out KDC.cer Thanks and Regards Naveen Naveen B.N wrote: Thank you Christian, your suggestions help

Re: get subjectAltName

2010-09-22 Thread Naveen B.N
Thank you Christian, your suggestions helped us to get the position but as you mentioned the problem of resolving to kerberos principal name, i tried Google and added a piece of code but i am not getting the out put as shown below . #include #include #include #include #include #includ

Re: get subjectAltName

2010-09-22 Thread Christian Hohnstaedt
On Wed, Sep 22, 2010 at 02:40:26PM +0530, Naveen B.N wrote: > Hello, > I am using Linux. > I am trying to print the subjectAltName present in the certificate, but > i am seeing crash in /lib/libcrypto.so.6 > core was generated by `./a.out'. > Program terminated with signal 11, Segmentation fault.

get subjectAltName

2010-09-22 Thread Naveen B.N
Hello, I am using Linux. I am trying to print the subjectAltName present in the certificate, but i am seeing crash in /lib/libcrypto.so.6 core was generated by `./a.out'. Program terminated with signal 11, Segmentation fault. #0 0x058b8a03 in OBJ_cmp () from /lib/libcrypto.so.6 (gdb) bt #0 0x0

Re: get subjectAltName

2010-09-22 Thread Naveen B.N
Resending with attachment .. Naveen B.N wrote: Hello, I am using Linux. I am trying to print the subjectAltName present in the certificate, but i am seeing crash in /lib/libcrypto.so.6 core was generated by `./a.out'. Program terminated with signal 11, Segmentation fault. #0 0x058b8a03 in OBJ