Hi, No, we’re not exposing the server certificate in the session connected notification because that api is generic, i.e., used for all transports. If you need to grab the server certificate out of a tls connection, you’ll need to add a separate api that for a given session handles returns the certificate.
Florin > On Jun 23, 2019, at 12:35 AM, max1976 via Lists.Fd.Io > <max1976=mail...@lists.fd.io> wrote: > > Hello, > > Can I get a server certificate (by calling SSL_get_peer_certificate) when the > client connected to the server (in the event session_connected_callback) in > the client tls app by usign openssl plugin? > > Thanks. -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13350): https://lists.fd.io/g/vpp-dev/message/13350 > Mute This Topic: https://lists.fd.io/mt/32175198/675152 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13351): https://lists.fd.io/g/vpp-dev/message/13351 Mute This Topic: https://lists.fd.io/mt/32175198/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-