pulsar-client-python
pulsar-client-python copied to clipboard
Python Client `tls_validate_hostname` should validate hostname match against SANs
trafficstars
Is your enhancement request related to a problem? Please describe.
The Python Client parameter tls_validate_hostname only validates that the endpoint hostname matches the Common Name in the TLS cert supplied by the endpoint.
Describe the solution you'd like The Python Client should also validate against Subject Alternative Name field in the TLS cert. This is a common practice to include multiple hostnames in a TLS cert to share across scalable systems without necessarily having to use a wildcard the hostname.
The issue had no activity for 30 days, mark with Stale label.