AEWeb ssl certificate does not work on multiple / wildcard domain name #1553
Labels
bug
Something isn't working
good first issue
Good for newcomers
web hosting
issue regarding web hosting
Describe the problem you discovered
Currently when an aeweb reference transaction contains an ssl certificate, the node ensure the host domain name is certified by the certificate. To do so it search for the subjectAltName and take the last one.
It works well if the certificate only certify one domain name, but it fail if there is a wildcard or multiple domain name certified.
For exemple the domain name
guide.ucopourlesnuls.fr
will not be found as the node only take the last one which isdashboard.ucopourlesnuls.fr
Same for wildcard since we compare 2 strings.
guide.ucopourlesnuls.fr
!=dashboard.ucopourlesnuls.fr
!=*.ucopourlesnuls.fr
Describe the solution you'd like
The check for the domain name should be more clever and find the domain name even with mutiple domain certified or a wildcard.
Epic
No response
The text was updated successfully, but these errors were encountered: