Difference between revisions of "Manual:Hotspot HTTPS example"
(Created page with "__TOC__ ==Hotspot HTTPs redirect== ===Summary=== In this example you will see how to use SSL certificate to enable HTTPS redirect to your Hotspot login page. It is possible...")
Revision as of 14:35, 23 August 2016
Hotspot HTTPs redirect
In this example you will see how to use SSL certificate to enable HTTPS redirect to your Hotspot login page. It is possible to use certification authority (CA) as well as self signed certificates.
Self signed certificates
You can generate your own free self signed SSL certificate, and use it in your RouterOS. This page will show detailed steps how to generate, and import such certificates.
Hotspot HTTPs login
When you have successfully imported certificate and private key on the router, first you need to enable ssl service and add the name of the certificate in /ip service:
/ip service set www-ssl certificate=client.crt_0 disabled=no
Next step is to enable HTTPs login on your Hotspot.
/ip hotspot profile set hsprof1 login-by=https ssl-certificate=client.crt_0
Now all HTTPs requests from unauthorised clients will be redirected to your Hotspot login page.