After this is done, also put a redirect to route all traffic over HTTPS. Since the SSL settings are done through Granite SSL config com.adobe.granite.jetty.ssl.internal.GraniteSslConnectorFactory. So, the only way to stop the HTTP traffic is to set up redirect as per below and route all http traffic to https.
The following example redirects traffic tolocalhost:4502tohttps://localhost:5433. To configure the redirect, create asling:mappingnode. Use a node name that matches requested URL. Add a sling:redirectproperty to specify the URL for redirection.