Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Add support for SNI with wildcard certs #126

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add support for SNI with wildcard certs #126

wants to merge 6 commits into from

Conversation

gsoltis
Copy link

@gsoltis gsoltis commented Oct 31, 2012

Added a function to do basic wildcard matching when deciding which cert to use under SNI.

Also added some comments to the default config clarifying how to list multiple cert files.

gsoltis and others added 6 commits October 30, 2012 22:18
Errors were not getting cleared from the queue between various OpenSSL
function calls. This was causing the error queue to contain misleading
information on subsequent calls to SSL_get_error.

One degenerate case was incorrect dispatching of errors after a failed
SSL_read. Conditions that simply should have lead to another call to
SSL_read were being treated as fatal. This was verified while stracing a
stud process and seeing read() return with EAGAIN and stud immediately
closing the socket fd and logging an SSL_read error.
@coderanger
Copy link

👍 from me on this.

@mfischer-zd
Copy link

+1

1 similar comment
@lutoma
Copy link

lutoma commented Dec 17, 2013

+1

lbogdan added a commit to lbogdan/stud that referenced this pull request May 6, 2014
Just applied bumptech#126.

Original pull request message:
----
Added a function to do basic wildcard matching when deciding which cert to use under SNI.

Also added some comments to the default config clarifying how to list multiple cert files.
----
lbogdan added a commit to lbogdan/stud that referenced this pull request May 6, 2014
Just applied bumptech#126.

Original pull request message:
----
Added a function to do basic wildcard matching when deciding which cert to use under SNI.

Also added some comments to the default config clarifying how to list multiple cert files.
----
lbogdan added a commit to lbogdan/stud that referenced this pull request May 6, 2014
Just applied bumptech#126.

Original pull request message:
----
Added a function to do basic wildcard matching when deciding which cert to use under SNI.

Also added some comments to the default config clarifying how to list multiple cert files.
----
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants