Przejdź do głównej zawartości

Enabling SSL on MikroTik Hotspot

Ta treść nie jest jeszcze dostępna w Twoim języku.

This guide explains how to enable SSL (HTTPS) on the MikroTik Hotspot login page using a free ACME certificate issued through IP Cloud. Follow the steps below using either the graphical interface or the RouterOS CLI.

Compatibility

Social WiFi has been tested and proven to work on the following configurations:

  • RouterOS version 7.19 and above

Preqe

Installation

  1. Enable IP Cloud

    Navigate to IP -> Cloud, and set DDNS Enabled to yes.

    EnableCloud.png

    Wait until the DNS Name appears.

    AwaitDNS.png

  2. Request an ACME certificate

    Navigate to System (1) -> Certificates (2), then click Add ACME (3). Enter any name in the Name field, for example mt_cert, and enter the domain provided in IP -> Cloud -> DNS Name.

    After completing the fields, click Add ACME Certificate (4).

    RequestACME.png

    After adding the certificate, wait about a minute until the status changes from Ea to Ka.

    AwaitACME.png

  3. Add the certificate to the Hotspot

    Navigate to IP (1) -> Hotspot (2) -> Server Profiles (3), then double-click the default profile (4). In the General tab, change DNS Name from logging.sw.com to the domain provided in IP -> Cloud -> DNS Name.

    HotspotDNS.png

    Go to the Login tab. In Login By, select HTTPS only, then below, in the SSL Certificate field, select the certificate generated in the previous step.

    HotspotLogin.png

    After completing the steps, click Apply.

Test the solution

Connect to the WiFi network and open the login page. The browser should show a valid certificate for the configured domain instead of a security warning.