Return server SNI support status

This function checks whether the server supports SNI (Server Name Indication).

Note:

  • Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled.
  • Functions that disable Mail SNI fail and make no changes.
Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  is_sni_supported

Response samples

Content type
application/json
{
  • "data": {
    • "sni": 1
    },
  • "metadata": {
    • "command": "is_sni_supported",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}