In order for the offline component to work over HTTPS, you need a valid SSL certificate on your host. If this is a development server, you can try one of the options on this blog post to install a valid certificate.