/ certificate create-certificate-request
Run the following command:
/ certificate create-certificate-request
You will be prompted to enter a name for the file to which the CSR and private key will be written; The default file name is better in this case.
You also need to create a password for the private key. Next, use the bit value of the default RSA key. You will then be asked some questions of CSR.
Now you need to download the private key and CSR files with the FTP client, such as FileZilla, by connecting to RouterOS IP with your administrator account credentials.
It is possible to use CSR to place certificates from a CA, such as GoDaddy, RapidSSL orThawte.
When there is a certificate issued from a CA, upload it via FTP. Then run the following command:
/ certificate import file-name = thecertificatesfilename
Then type the password you set when creating the CSR.
On WinBox, you need to click IP > Services . Then double-click on the www-ssl item, select the certificate and click OK .
Go back to the IP Service List , click the www-ssl entry and click the check button to activate it.
Now enable SSL for the hotspot, edit the hotspot server profile to enable HTTPS login and choose your certificate.
Change Login and Hotspot pages
You should change the login and other hotspot pages, such as adding a company name or welcome message, or even embedding it in logos and images. Some knowledge about HTML will help you a lot.
To download and upload HTML files from RouterOS, you can use an FTP client, such as FileZilla and connect to RouterOS IP with your administrator account data.
Tip : When logging in or out to test the login page, you can automatically log in and not see the hotspot pages. To avoid this, you can open the Hotspot Server Profile in WinBox and disable the Login By Cookie option.
If you like users to be redirected to a site or a site after logging in, then you need to edit the login.html file to replace $ (link-orig) with a complete URL. This is the default value for the hidden dst (destination) attribute within the Form tags.
If you want to link locations on the Internet, including images, you must add their domain to the Walled Garden list in order for users to access them before logging in. You can do that by name of a tab of the Hotspot window in WinBox.