fixes #13817 - test certificate.subject_alternative_names for presence
Otherwise certificate SAN test is always true even with no SAN. Thisresults in request_hosts being empty and thus ENC authentication fails.
With test by Dominic Cleal <dominic@cleal.org>
(cherry picked from commit f441da9df0f835b1db166724c6ebbc2a695bc498)
fixes #13817 - test certificate.subject_alternative_names for presence
Otherwise certificate SAN test is always true even with no SAN. This
results in request_hosts being empty and thus ENC authentication fails.
With test by Dominic Cleal <dominic@cleal.org>
(cherry picked from commit f441da9df0f835b1db166724c6ebbc2a695bc498)