Closed Tom-V closed 3 months ago
I would prefer to avoid breaking changes if we can. Does this approach work instead? https://github.com/natemcmaster/LettuceEncrypt/pull/290
I've released https://github.com/natemcmaster/LettuceEncrypt/pull/290 to nuget as version 1.3.1. Please let me know if that works for you.
This fixes #122 Requests without SNI fail with: "The server mode SSL must use a certificate with the associated private key."
Basically when setting a ServerCertificateSelector it overrides the default behavior, returning null will give an error instead of falling back to the configuration. This change only sets the ServerCertificateSelector whenever domains are configured. To do this however I had to break the API.