AI OnAI Off
Before the page is loaded, check if it's a ssl page accessed with http. If so, redirect to the same page with protocol https and the correct https port.
Also make sure you have a valid ssl server certificate supported by the major browsers.
How do I enable ssl for a specific page ? like on the login from the extranet. SSL is configured on the IIS.