25.1 OpenLDAP Secure Search Fails with IPv6

OpenLDAP secure search fails with IPv6 when the certificate associated with the LDAP server has IPv6 address in the Subject Alternative Name field.