Re:Getting the text from an X509 cert

2011-02-26 Thread lzyzizi
I thinkintX509_print(BIO *bp,X509 *x)may be helpful. You could create a mem bio by BIO *BIO_new_mem_buf(void *buf, int len) with your own buffer.Then pass it to theX509_print function. At 2011-02-26 07:44:59,"Cason, Kenny" wrote: Hiya! I have an X509 data structure already loaded,

Re: Registration

2011-02-26 Thread Michael S. Zick
On Fri February 25 2011, John R Pierce wrote: > On 02/25/11 4:28 PM, David Schwartz wrote: > > On 2/25/2011 11:59 AM, Michael S. Zick wrote: > >> On Fri February 25 2011, Ricardo Custodio wrote: > >>> Veja www.icp.edu.br > >>> > >> > >> Interesting, I get a "server certificate fails authentication"

Getting the text from an X509 cert

2011-02-26 Thread Cason, Kenny
Hiya! I have an X509 data structure already loaded, and can use the built in routines to get the issuer, etc but what I need is the full text of the cert. The functionality I need is similar to the following command, except in C++: $ openssl x509 -noout -in cert.pem -text Here is the code so fa

SSL - Weak Encryption Test

2011-02-26 Thread Nouefel
Hi All Need some help on testing if a server supports weak ciphers . Here is the command I ran : openssl s_client -connect HOSTNAME:443 -cipher LOW:EXP result : Connected : err num=110 openssl s_client -connect HOSTNAME:8000 -cipher LOW:EXP result : Connected : err num=104 Should I understa