Ticket #3687 enhancement closed wontfix

Opened 5 years ago

Last modified 19 months ago

calling getPeerCertificate in connectionMade returns None

Reported by: jrydberg Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

When a SSL connection (either through listenSSL or connectSSL) has been established connectionMade is called before the actual SSL handshake has been conducted. This results in that getPeerCertificate() returns None.

connectionMade on the protocol should be called first when the handshake has been done.

Change History

1

Changed 5 years ago by exarkun

  • status changed from new to closed
  • resolution set to wontfix

Changing when connectionMade is called for SSL protocols has two problems.

First, it is a change in behavior of an existing API which might break existing applications relying on it.

Second, it leaves the protocol with no way to perform actions between the time the TCP connection is established and the time the handshake is complete.

I agree that it would be useful to get more information about progress of an SSL connection, but changing connectionMade isn't the way to do it.

2

Changed 3 years ago by <automation>

  • owner glyph deleted

3

Changed 19 months ago by glyph

See #6024.

Note: See TracTickets for help on using tickets.