Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Overview

Certificate manager is used to:

...

Code Block
languageros
[admin@MikroTik] > file print
Columns: NAME, TYPE, SIZE, CREATION-TIME
#  NAME                         TYPE        SIZE  CREATION-TIME       
0  skins                        directory         jan/19/2019 00:00:04
1  flash                        directory         jan/19/2019 01:00:00
2  flash/rw                     directory         jan/19/2019 01:00:00
3  flash/rw/disk                directory         jan/19/2019 01:00:00
4  pub                          directory         jan/19/2019 02:42:16
5  cert_export_CA-Template.crt  .crt file   1119  jan/19/2019 04:15:21
6  cert_export_ServerCA.crt     .crt file   1229  jan/19/2019 04:15:42
7  cert_export_ServerCA.key     .key file   1858  jan/19/2019 04:15:42
8  cert_export_Client.crt       .crt file   1164  jan/19/2019 04:15:55
9  cert_export_Client.key       .key file   1858  jan/19/2019 04:15:55

Let's Encrypt certificates

RouterOS v7 has Let's Encrypt certificate support for 'www-ssl' service. To enable the Let's Encrypt certificate service with automatic certificate renewal, use 'enable-ssl-certificate' command:

Code Block
languageros
/certificate 
enable-ssl-certificate

The command has additional 'dns-name' certificate for custom certificate generation (default DNS name is the same as IP/Cloud). Note that the DNS name must point to the router and port TCP/80 must be available.