Tls configuration

What exactly i can provide Common name and alternate Name details for TLS enabling

For your reference, I believe the following also applies to TLS:
The most common form of SSL name matching is for the SSL client to compare the server name it connected to with the Common Name in the server’s Certificate. It’s a safe bet that all SSL clients will support exact common name matching.

If a SSL Certificate has a Subject Alternative Name (SAN) field, then SSL clients are supposed to ignore the Common Name value and seek a match in the SAN list. This is why DigiCert always repeats the common name as the first SAN in our certificates.

https://www.digicert.com/faq/subject-alternative-name-compatibility.htm

Thank you Zhen for providing valuable information regarding TLS.