Where MikroTik RouterOS uses cryptography: IPsec, SSH, WireGuard and certificates

A working inventory of the protocols, certificates, keys and management paths in MikroTik RouterOS 7, with the settings and facts an engineer needs to record each one.

On this page

Where does MikroTik RouterOS use cryptography, and what belongs in the inventory

Your inventory needs one entry for RouterOS that lists every place the platform uses cryptography, so the team can see what depends on public keys before any post-quantum planning starts. The entry should cover IPsec, SSH, WireGuard, the www-ssl and api-ssl services, certificates and ACME, and firmware and update signing. Assign ownership to the network engineer who administers the routers, with the security lead reviewing the entry. Record the RouterOS version and channel for each device, since behavior changed between 7.24 and 7.25 and the newest stable release on the upgrade server was 7.25.2 as of 2026-12-03.

For IPsec, record the profile encryption, hash and Diffie-Hellman group settings, the identity method (pre-shared key, X.509 certificate or EAP), and whether any post-quantum pre-shared key (PPK) is configured. For SSH, record the host-key-type and whether the router was upgraded from an RSA key or installed fresh with Ed25519. For the www-ssl and api-ssl services, record the certificate value, since the default of none means the router cannot prove its identity, and the tls-version value, since the default any allows TLS 1.0 and 1.1. For WireGuard, record whether a preshared-key is set on each peer.

The vendor does not document every area. The current SSH manual does not describe how to enable or disable the mlkem768x25519-sha256 key exchange added in 7.24, and the certificates manual documents no key-type parameter or signature algorithm choice. Mark those items as items to confirm with MikroTik or by testing each device, not as settings you can assume. This page lists locations and records, not fixes. Use the inventory to decide which devices need follow-up, and check each device's own configuration before you change anything.

Every RouterOS area that uses cryptography, with its settings and public-key status

This table lists each RouterOS area that uses cryptography, the algorithm families the vendor documentation names, where it is configured, and whether it depends on public-key algorithms. Rows marked undocumented have no vendor statement on signatures or key exchange, so confirm them on your own build before recording an answer. Check each row against your RouterOS version, since the SSH and IPsec changes are recent.

AreaWhat it protects and algorithms namedDepends on public keysWhere it is configured
IPsec (IKE, ESP, PPK)Site-to-site tunnels. IKE and ESP use AES, ChaCha20-Poly1305, and MODP or ECP Diffie-Hellman groups, with PPK as an extra symmetric secret.Yes for X.509 certificates and RSA keys. PSK and PPK do not use public keys. ML-KEM is not documented./ip ipsec profile, proposal, identity and key menus
SSH serverAdministrative login. Host key types rsa, ed25519, secp256r1, secp384r1, secp521r1. mlkem768x25519-sha256 key exchange added in 7.24.Yes for host keys and key exchange. The ML-KEM hybrid key exchange is documented only in the changelog, not in the manual./ip ssh (host-key-type, strong-crypto, ciphers)
WireGuardTunnels. The peer preshared-key adds a symmetric layer described as post-quantum resistance. Primitives are not named in the manual.Yes for peer public keys. The preshared key itself is symmetric./interface wireguard peers (private-key, public-key, preshared-key)
www-ssl and api-sslWeb and API management over TLS. Certificate defaults to none, which gives anonymous Diffie-Hellman with no server identity. tls-version defaults to any.Yes when a certificate is assigned. Certificate key types and signature algorithms are not documented./ip service (certificate, tls-version)
Certificates and CA functions (ACME, SCEP, CRL)Certificate issuance and renewal. Templates default to 2048-bit RSA. ACME uses Let's Encrypt unless a directory URL is set. CRL checks run only when crl-use=yes.Yes. The manual shows no ML-DSA or SLH-DSA signature option./certificate (templates, settings, acme, scep)
QKD key materialKeys for IPsec PPK from a QKD server or static or one-time PSK sources. Recommended entropy is at least 256 bits per RFC 8784.No. Key material is symmetric. QKD is handled in the keymat-provider menu since 7.24./system keymat-provider and /ip ipsec profile (ppk)
Firmware and update channelPackage and firmware integrity. The manual does not name the signature algorithm or key type used to sign packages or updates.Undocumented. Confirm with MikroTik which signing scheme and keys verify updates on your device.System package and upgrade settings, verified against the vendor changelog

Which RouterOS protocols terminate or originate encryption, and which settings choose their algorithms

RouterOS uses cryptography in several separate places: IPsec tunnels, the SSH server, WireGuard peers, the HTTPS services and the certificate endpoints on the www service. Each one has its own setting that chooses its algorithms, so an inventory has to look at each protocol on its own rather than treating RouterOS as one crypto setting.

IPsec with IKEv2 and ESP

IPsec profiles, proposals and peers set the key exchange, encryption and authentication for site-to-site and remote tunnels. The profile enc-algorithm and hash-algorithm, the proposal pfs-group, and the identity auth-method choose the algorithms. The frozen help page lists the defaults as aes-128, sha1, modp1024 and pre-shared-key authentication, so check whether a given router still runs those values. Post-quantum pre-shared keys (PPK) are the only documented post-quantum measure in IPsec. See the sibling IPsec page for detail.

IPsec manual

SSH server on TCP 22

The RouterOS SSH server is enabled by default on TCP port 22. The host-key-type setting selects the host key, and the strong-crypto and ciphers settings control the algorithms offered to clients. New installations default host-key-type to Ed25519, while upgraded routers keep their RSA key, so check which key each router presents. The 7.24 changelog adds an mlkem768x25519-sha256 key exchange, but the manual does not say how to enable it. See the sibling SSH page for detail.

SSH manual

WireGuard peers

WireGuard peers carry an optional preshared-key that the RouterOS reference describes as adding a symmetric layer for post-quantum resistance. The router can generate the key automatically. The main WireGuard manual names no cryptographic primitives, so confirm the key exchange and transport algorithms with MikroTik before relying on the peer setting for a post-quantum claim. See the sibling WireGuard and IPsec page for detail.

WireGuard peers reference

www-ssl and api-ssl services

The www-ssl and api-ssl services under /ip/service serve HTTPS for the web interface and the API. The certificate property defaults to none, and with none the services accept only anonymous Diffie-Hellman ciphers, so traffic is encrypted but the router cannot prove its identity. The tls-version property defaults to any, which allows TLS 1.0, 1.1 and 1.2, and the other value is only-1.2. The page lists no TLS 1.3 option.

SCEP and CRL endpoints

The SCEP and CRL endpoints used for certificate enrollment and revocation checks are served by the www service on TCP port 80. CRL checking applies only when crl-use is set to yes. Certificates come from the certificate menu, where a template without key-size and days-valid produces a 2048-bit RSA key valid for 365 days. The manual documents no key-type parameter or signature algorithm choice, so confirm the key and signature types in your own certificates.

Certificates manual

Where RouterOS certificates and keys are stored, issued and rotated

The www-ssl and api-ssl services use the certificate selected in /ip/service, and that property defaults to none. With none, both services accept only anonymous Diffie-Hellman ciphers, so traffic is encrypted but the router cannot prove its identity. To present an identity, an administrator must import or create a certificate and assign it. Certificates created from a template without key-size and days-valid receive a 2048-bit RSA key valid for 365 days. The RouterOS certificates manual shows an elliptic curve key only through the example key-size=prime256v1, and it documents no key-type parameter or signature algorithm choice. Storage in an HSM or TPM is not documented.

  • Default issuance: a template without key-size and days-valid produces a 2048-bit RSA key valid for 365 days.
  • Assignment: the certificate is attached to www-ssl or api-ssl through the certificate property in /ip/service.
  • Storage: the manual does not state where the private key is kept on the device, and no HSM or TPM storage is documented.
  • Rotation: an administrator with access to the certificate menu issues a replacement and reassigns the service.
  • Protocol limits: tls-version defaults to any, which allows TLS 1.0, 1.1 and 1.2, and the only other value is only-1.2. The page lists no TLS 1.3 option.

Before relying on this inventory, confirm the certificate and key type actually installed on each router, since the defaults apply only to certificates created from the template.

How administrators and tools reach RouterOS, and what protects each path

Administrators and tools reach RouterOS through a small set of services, and each one is protected differently. The web interface runs on www (TCP 80) and www-ssl, the API runs on api and api-ssl, and SSH runs on TCP port 22. The www service also serves the SCEP and CRL endpoints on TCP port 80 that certificate workflows use. Start your inventory with /ip/service print, because the enabled state, port and certificate value of each service determine what is exposed. The RouterOS /ip/service reference for 7.25 sets the certificate property to none by default. With none, www-ssl and api-ssl accept only anonymous Diffie-Hellman ciphers. The traffic is encrypted, but the router cannot prove its identity to the client. Check every router where www-ssl or api-ssl is enabled, and confirm that a named certificate is assigned.

The same reference says the tls-version property defaults to any, which allows TLS 1.0, 1.1 and 1.2. The only other documented value is only-1.2, and the page lists no TLS 1.3 option. Record the tls-version value for each HTTPS-based service, and do not assume that TLS 1.3 is available on these services. The SSH server is enabled by default on TCP port 22. New installations default host-key-type to Ed25519, and upgraded routers keep their RSA key. Confirm which key type each router uses with the SSH settings, since the 7.25 changelog changed the default and added a warning for weak RSA keys. The facts do not describe central management, cloud management or any vendor-hosted control traffic, so check those paths separately with MikroTik. The facts also do not cover cluster or high-availability links between routers, so verify those paths in your own configuration.

How RouterOS firmware and updates are delivered, and what the vendor controls

RouterOS firmware reaches devices through MikroTik's own upgrade server and changelog pages, so the vendor controls both the update channel and the release contents. The four items below show where to find the current releases and what the public record does and does not say about how those releases are signed and distributed.

Upgrade server and newest stable release

On 2026-12-03 the MikroTik upgrade server reported 7.25.2 as the newest stable RouterOS 7 release. Check the version your devices run against this value before planning any cryptographic change, since settings such as the SSH host-key default and the IPsec and certificate options differ between releases. Confirm the version on each device, not only the version on the server, because a router only moves to a new release when someone updates it.

Upgrade server

Long-term 7.24.7 release

The changelog index lists 7.24.7 as a long-term release dated 2026-11-23. A long-term branch is the release an operator is more likely to keep in service for an extended period, so the cryptographic settings in that branch matter for planning. Check whether your fleet is on this branch or on the newer stable line, because the 7.24 and 7.25 changelogs describe different SSH, IPsec and certificate changes.

Changelog index

Changelog index and release notes

The changelog index is the main public record of what each RouterOS release changes, including the SSH host-key default change, the SSH host key verification change and the 7.24 ML-KEM entry for SSH key exchange. Read the entries for your target version directly, since the index does not say whether a given key exchange is enabled by default or limited to certain hardware or packages. Treat the changelog as the source for what changed, and the manual pages as the source for how to configure it.

7.25 changelog

Software and about pages

The software page describes RouterOS as a stand-alone operating system based on the Linux kernel, and the about page lists the company as SIA Mikrotīkls in Riga, Latvia. Neither page documents image signing, secure boot or license channels, and neither page states who owns RouterOS. The facts do not document how firmware images are signed or verified on the device, so ask the vendor for that evidence before relying on it in an inventory or procurement record.

Software page

What to record for each RouterOS cryptographic item

This table lists the fields to capture for each cryptographic item on a RouterOS device, such as an IPsec profile, SSH server, WireGuard peer or certificate. Read each row as one field, the question it answers and where the value comes from. Engineers should record every field per item, because the same protocol can behave differently across RouterOS versions and between upgraded and newly installed routers.

FieldWhat to recordWhere the value comes from
Product and modelRouterOS device model and hardware platform, for example the CHR or a specific router modelDevice identity from the router, such as /system/resource and /system/routerboard output
RouterOS version and patch levelExact installed release, such as 7.25 or 7.24.7, and whether it is a stable or long-term build/system/package and the MikroTik upgrade server or changelog index for the newest release
OwnerTeam or person accountable for the device and its configurationInternal asset register, not the device
Location in RouterOSMenu path of the item, such as /ip/service, /ip/ipsec, /system/keymat-provider, /certificate or /interface/wireguard/peersMenu structure of the installed version, checked against the RouterOS CLI reference for that release
ProtocolProtocol the item secures, such as SSH, IPsec IKE and ESP, WireGuard, www-ssl, api-ssl or ACMEThe service or menu the item belongs to, confirmed in the matching RouterOS manual
Algorithm and key sizeKey exchange, cipher, hash, signature and key or group size in use, for example DH group 14 or RSA 2048Current settings in the item, plus the defaults listed in the relevant manual; for SSH, host-key-type and host-key-size
Certificate issuer and expiryIssuing authority, subject, validity dates and renewal method for each certificate/certificate print output and the ACME or SCEP settings on the device
Configurable or fixedWhether the setting can be changed by the administrator or is fixed in the firmware for this versionConfirm in the RouterOS manual for the installed version, and test on a lab unit if the manual is silent
Confidentiality periodHow long the protected data must stay confidential, set by the data owner and any regulation that appliesData classification and retention policy from the owner; not a RouterOS setting

Which RouterOS items depend on public-key algorithms and fall in scope

Several RouterOS items depend on public-key algorithms and belong in your post-quantum inventory. In IPsec, the Diffie-Hellman groups in the profile and proposal settings, including the elliptic-curve groups ECP 19, 20 and 21, carry the key exchange, and RSA keys in the IPsec Keys menu (1024, 2048 or 4096 bits in the frozen help page) can serve as identities. X.509 identity certificates issued or imported through the certificate menu depend on RSA or elliptic-curve signatures, and certificate signing does too. In SSH, the host key (rsa, ed25519, secp256r1, secp384r1 or secp521r1) and the key exchange both rely on public-key math. The RouterOS manuals I checked describe no ML-DSA or SLH-DSA signature support in certificates or IPsec, and say that ed25519 authentication is not supported in IPsec.

Some items use symmetric cryptography only and belong in the inventory as lower-priority entries: ESP encryption with a pre-shared key, the AES, ChaCha20 and other bulk ciphers, and the MD5, SHA1 and SHA2 hashes. Be careful with the post-quantum pre-shared key (PPK). RouterOS documents it as an extra secret mixed into IKE negotiation, with at least 256 bits of entropy recommended for about 128 bits of post-quantum security. It adds a symmetric secret on top of the existing exchange. It is not a post-quantum key exchange, so record it separately. The ML-KEM SSH key exchange, mlkem768x25519-sha256, appears only in the 7.24 changelog. The current SSH manual does not describe how to enable it, so confirm its default state on your own routers before you count it as available.

For the full analysis of each function, read the sibling dependency page on RouterOS RSA and elliptic-curve keys. Confirm the RouterOS version on each device first, because the 7.24 and 7.25 changelogs changed SSH host key defaults and IPsec key handling, and upgraded routers keep their RSA host key. Record the version, edition and component for every entry so the inventory stays accurate after updates.

How to gather RouterOS cryptography details for an inventory

This sequence collects the RouterOS version, service settings, keys, certificates and tunnel secrets you need to record where a router uses cryptography. Work from the exported configuration and the live device, then send vendor questions for anything the documentation leaves open.

  1. Record the RouterOS version and edition

    Run the system resource view on each router and write down the exact RouterOS version and the release channel, such as stable or long-term. Check the version against the MikroTik upgrade server and changelog index, which listed 7.25.2 as the newest stable RouterOS 7 release on 2026-12-03. Confirm which hardware model each version runs on, because the documentation does not give a hardware or edition split for the SSH ML-KEM entry. The step is done when every router in scope has a version, channel and model recorded against its name.

  2. Export the configuration and review service settings

    Export the full configuration from each router to a file kept with your inventory records. Then review /ip/service for the www-ssl and api-ssl entries, noting whether each service is enabled, its certificate property and its tls-version value. Record that a certificate property of none means the service accepts only anonymous Diffie-Hellman ciphers, so the router cannot prove its identity. The step is done when each enabled service has its certificate and tls-version recorded in the inventory.

  3. Check IPsec profiles, proposals and keys

    Under /ip/ipsec, list each profile, proposal and peer, and record the encryption, hash and Diffie-Hellman group values in use. Note the identity authentication method for each peer, whether pre-shared key, X.509 certificate or EAP, and check whether any profile sets ppk to psk, psk-ike-initial or qkd. Look in /system/keymat-provider for any QKD or key material provider entries. The step is done when every IPsec peer is listed with its authentication method and any PPK setting.

  4. List SSH server settings and host key type

    Check that the SSH server is enabled and confirm the listening port, which is TCP port 22 by default. Record the host-key-type value, noting that new installations default to Ed25519 while upgraded routers keep their RSA key, and note the host-key-size if RSA is in use. Record the strong-crypto, ciphers and kex settings where they are shown, and note that the current SSH manual does not list a kex option for mlkem768x25519-sha256. The step is done when each router has its SSH enablement, port and host key type recorded.

  5. List WireGuard peers and preshared keys

    List every WireGuard interface and peer, and record whether each peer has a preshared-key set. The peer reference describes this key as an additional layer of symmetric-key cryptography, and auto generates it when not provided. Record the peer name or public key identifier, the interface it belongs to and whether the preshared key was set by hand or generated. The step is done when each WireGuard peer appears in the inventory with its preshared-key status.

  6. List certificates with issuers and expiry dates

    Under /certificate, list every certificate and CA on the router, recording the subject, issuer, key type and key size, and the expiry date. Note whether certificates were created from a template, since the template defaults to a 2048-bit RSA key valid for 365 days unless specified otherwise. Record whether any ACME, SCEP or CRL settings are active, and whether crl-use is set to yes. The step is done when every certificate is listed with its issuer, key details and expiry.

  7. Check the www and api-ssl certificate assignment

    For the www-ssl and api-ssl services, confirm which certificate is assigned and whether the certificate property is set, since the default of none leaves the router unable to prove its identity. Match the assigned certificate to the list you built in the previous step, and note its expiry. Flag any service that uses a self-signed or expired certificate. The step is done when each TLS-enabled management service has a named certificate recorded against it.

  8. Send vendor questions for open items

    Collect the items the documentation leaves open and send them to MikroTik in writing. Ask whether RouterOS supports post-quantum signatures such as ML-DSA or SLH-DSA, how key exchange for SSH and IPsec is enabled and disabled on each edition and hardware platform, and how PKCS#12 export is protected. Ask whether a FIPS 140 validation or CNSA 2.0 statement exists, and whether a post-quantum roadmap has been published. The step is done when each open item has a dated question on file and the response is recorded in the inventory.

Questions reviewers ask about RouterOS cryptography in an inventory

Is MikroTik RouterOS quantum safe?

The supplied facts do not support calling RouterOS quantum safe, and this page does not make that claim. What the documentation shows is narrower. RouterOS IPsec supports a post-quantum pre-shared key (PPK), an extra secret mixed into IKE negotiation, configured per profile with ppk=no, psk, psk-ike-initial or qkd. RouterOS 7.24 added mlkem768x25519-sha256 as an SSH key exchange, and the 7.24 changelog does not say whether it is on by default. The RouterOS 7.26 IPsec manual and QKD/PPK page do not mention ML-KEM for IKEv2, and no ML-DSA or SLH-DSA signature support appears in the certificate or IPsec material checked. MikroTik has published no FIPS 140 or CNSA 2.0 statement and no post-quantum roadmap in the pages checked. Record these as the documented features, with their versions, and treat the overall posture as unverified until the vendor confirms more.

Which RouterOS version should the inventory entry record?

Record the exact RouterOS version installed on each device, read from the device itself, along with the release channel it runs on. The supplied facts show 7.25.2 as the newest stable RouterOS 7 release as of 2026-12-03, and 7.24.7 as a long-term release dated 2026-11-23. Feature behavior differs by version: the SSH ML-KEM key exchange arrived in 7.24, the Ed25519 host key default and SSH client host key verification arrived in 7.25, and the QKD-to-keymat-provider change arrived in 7.24 with a migration fix in 7.25. Because settings and defaults shift between releases, an entry without a version is hard to verify. Note the date you checked the version, since the newest release will change.

Does a RouterOS inventory need a separate CBOM format?

The supplied facts do not establish that RouterOS requires any particular inventory format, so this page does not recommend one. A practical approach is a per-device table with the same fields for every item: protocol or function, component, version, key type and size, the authentication method, and the setting that controls it (for example, /ip/service tls-version, certificate, or the IPsec profile enc-algorithm, proposal pfs-group). If your organization already uses a cryptography bill of materials (CBOM) schema, map these fields into it. Confirm the schema requirements with your own security or vendor-risk team rather than assuming a format from this page.

Which RouterOS settings can the customer change, and which does the vendor fix?

Most of the relevant items are settings the customer controls. In /ip/service, the certificate property defaults to none, and tls-version defaults to any, with only-1.2 as the other value and no TLS 1.3 option listed. The SSH server runs on TCP port 22 by default, and host-key-type and host-key-size can be set. IPsec profile algorithms, Diffie-Hellman groups and PPK sources are configurable per profile, and WireGuard preshared keys are optional. Certificate templates set key size and validity. The facts do not show which items are fixed in firmware, so confirm with MikroTik which cryptographic code paths cannot be changed by configuration on a given model and version. Record the customer-controlled settings and their current values separately from what the vendor has said is fixed.

What should I ask MikroTik about certifications and the roadmap?

Ask for written answers to a short list. First, whether any RouterOS edition or model holds a FIPS 140 validation, with the module name, version and certificate number. Second, whether RouterOS has a CNSA 2.0 statement, and if so, what it covers. Third, whether mlkem768x25519-sha256 is enabled by default in each release, which hardware and packages it applies to, and how to turn it on or off. Fourth, whether ML-KEM is planned for IKEv2, and whether ML-DSA or SLH-DSA is planned for certificates and signatures. Fifth, the dates of any deprecation of RSA or older algorithms. The supplied pages published no answers to these points as of 2026-12-03, so record each answer with its date and the person who gave it.

Can my team gather RouterOS cryptography data ourselves, or do we need outside help?

Your team can gather most of this data directly. Each device can be read for its RouterOS version, the /ip/service settings, the SSH host key type and size, the IPsec profiles and keys, the certificates and their key sizes and validity, and the WireGuard peers. The work is mostly careful reading and recording, and it takes longer on a large fleet where settings differ between sites. Outside help becomes useful when you need the inventory checked against your policy, when you want a rollout plan, or when the fleet is large enough that scripting the collection is worth doing. DeployOpen's security testing and compliance readiness work can cover those tasks as a fixed-scope engagement, with scope and deliverables agreed in writing first. The inventory itself remains your record, and it needs to reflect what the devices actually run.

How DeployOpen supports a RouterOS cryptographic inventory

DeployOpen helps network and security teams build a record of where their MikroTik RouterOS devices use cryptography, covering IPsec, SSH, WireGuard, certificates and the web and API services that use TLS. The work is scoped in writing before it starts, and the output is a dated inventory that records the RouterOS version, edition and component each finding applies to.

How we scope

  • Agree in writing which RouterOS devices, versions and services are in the inventory before work starts.
  • List the IPsec profiles, SSH settings, WireGuard peers, certificates and www-ssl or api-ssl services to be reviewed.
  • Confirm the RouterOS release train each device runs, since the documentation differs between 7.24, 7.25 and 7.26.

How we build

  • Collect the current settings from each router, including /ip/service, SSH host-key-type, IPsec profile and proposal values.
  • Record certificate types, key sizes and validity periods, and note which certificates use RSA or elliptic-curve keys.
  • Mark each dependency on public-key cryptography, and flag any setting where the vendor documentation is silent or out of date.

How we hand over

  • Deliver a dated inventory listing each device, service, protocol, key type and setting with its source.
  • Mark which findings were confirmed on the device and which need confirmation from the vendor or a lab test.
  • Provide a list of open questions for MikroTik, such as how the mlkem768x25519-sha256 SSH key exchange is enabled.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and re-inventory after each RouterOS release are available as a retainer.
  • Ask for the inventory to be refreshed when MikroTik publishes new changelogs or manual revisions.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.