Can I disable non-SSL login for cPanel & WHM?
Set the Always Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as “Always redirect to SSL option /TLS” option to On in WHM's Tweak Settings interface (Home >> Server Configuration >> Tweak Settings). This will disable the use of the insecure ports and redirect users to secure ports with the
/cpanel alias, the
/whm alias, and the