[openssl-users] getting certificate from X509_STORE
  Home FAQ Contact Sign in
mailing.openssl.users only
 
Advanced search
POPULAR GROUPS

more...

mailing.openssl.users Profile…
 Up
[openssl-users] getting certificate from X509_STORE         


Author: BRACHET Maxime
Date: Jun 13, 2008 00:36

Hi,

I am using gSOAP which use openssl.
I establish a connexion to a server using TLS, and I wanted to get the Name
of the Server certificate.
I can access to a X509_STORE trough ctx->cert_store.
But I don't find how to get the Server certificate.

I found the X509_STORE_CTX_get_current_cert(store) method, but to use it I
need a X509_STORE_CTX.
Is it possible to get a X509_STORE_CTX from a X509_STORE ?

Thanks in advance.

Regards,
Maixme

Hi,I am using gSOAP which use openssl.I establish a connexion to a server using TLS, and I wanted to get the Name of the Server certificate.I can access to a X509_STORE trough ctx->cert_store.But I don't find how to get the Server certificate.
I found the X509_STORE_CTX_get_current_cert(store) method, but to use it I need a X509_STORE_CTX.Is it possible to get a X509_STORE_CTX from a X509_STORE ?Thanks in advance.Regards,Maixme
1 Comment
Re: getting certificate from X509_STORE         


Author: BRACHET Maxime
Date: Jun 17, 2008 06:36

Same problem.

I wanted to know where is stocked the Server certificate during the SSL/TLS
communication.
For example I have my client who connect to a web service using SSL/TLS.
I wanted that my client get the certificate used by the server to get his
name.

Is it possible?

Thanks,
Maxime.

2008/6/14 Kah Goh gmail.com>:
> Hi,
>
> I had a look at X509_STORE_CTX_init and I agree that it looks like it might
> cause seg fault, although I think it is unlikely. But first, may I ask, what
> makes you think it comes from X509_STORE_CTX_init...
Show full article (4.75Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
[CVS] OpenSSL: openssl/crypto/bn/ bn_print.c openssl/crypto/ cryptlib....mailing.openssl.cvs ·
[CVS] OpenSSL: OpenSSL_0_9_7-stable: openssl/ CHANGES openssl/ssl/ ssl...mailing.openssl.cvs ·
[CVS] OpenSSL: openssl/ Configure openssl/crypto/bn/ bn.h bn_mont.cmailing.openssl.cvs ·
Re: VeriSign certificate with opensslmailing.openssl.users ·
[CVS] OpenSSL: openssl/crypto/evp/ bio_md.cmailing.openssl.cvs ·