Opened 9 years ago

Closed 9 years ago

#1811 closed defect (fixed)

contact_use_src_port and TLS server certificate verification issue (thanks to Viktor Krikun for the report)

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.4
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

When contact_use_src_port option (see #1677) is enabled, pjsua will try to acquire transport
in order to get the source port. However, since tdata is not passed for the
transport acquire, later TLS server certificate matching will be done based on
the IP address, instead of remote host name. This results in server certificate
verification failure.

Change History (1)

comment:1 Changed 9 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

In 4974:

Fixed #1811: contact_use_src_port and TLS server certificate verification issue (thanks to Viktor Krikun for the report)

Note: See TracTickets for help on using tickets.