Problem:
Server: Subject Alternative Name(SAN) in server certificate: *test.example.com
Client: Server Name Indicator(SNI) given