Skip to content

Does it support server mode? #17

@paulo-raca

Description

@paulo-raca

Hello!

Thank you for this library, it looks like what I need!

For context, I'm playing with the idea of an HTTPS server that lazily produces certificate from ACME/Let's Encrypt when they are first accessed.

To do this I need to execute my code (a blocking asyncio callback) after the SSL handshake to and use the SNI and ALPN data to fetch/generate the correct certificate

However it is not completely clear how to do that:

  • can the post_handshake_callback do that?
  • Can STARTTLSTransport be used in server-mode? The tests always use it in client-mode

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions