MikroTik

How to use mikrotik sstp with windows 7 and above

How to use Mikrotik SSTP server with windows 7 and above

First of all you need to create cerficates: CA (Certification authority) and Server

You can use openssl or create certificate right in mikrotik (http://wiki.mikrotik.com/wiki/Manual:Create_Certificates)

In this case we generate certificates in Mikrotik RouterOS 6

Make certificate templates

/certificate
add name=ca-template common-name=CA key-usage=key-cert-sign,crl-sign
add name=server-template common-name=server

Sign certificates and add CRL url. We will use IP address of the server as CRL URL.

/certificate 
sign ca-template name=CA ca-crl-host=IP_ADDRESS
sign server-template ca=CA name=server

If certificate does not have T flag then you need to set it as trusted before using it:

/certificate
set CA trusted=yes
set server trusted=yes

Export client certificates with keys and CA certificate:

/certificate export-certificate CA

After this command see your certificate in Files with name cert_export_CA.crt

Install cert_export_CA.crt in Windows certmgr.msc in Trusted Root Certificates for local computer https://technet.microsoft.com/en-us/library/cc754841(v=ws.11).aspx

Setup Mikrotik SSTP server

/interface sstp-server server
set authentication=mschap2 certificate=server default-profile=default-encryption enabled=yes force-aes=yes max-mru=1400 max-mtu=1400 mrru=1500 pfs=yes

Troubleshooting

After Windows 7 upgrade SSTP is unable to connect (windows error 631) ?
MS Patch KB2585542 changes cypher to RC4 which was not supported on RouterOS. Starting from RouterOS v5.13 RC4 is the preferred cipher and AES will be used only if peer does not advertise RC4.
After Windows 7 upgrade SSTP is unable to connect (windows error 631) ?
MS Patch KB2585542 changes cypher to RC4 which was not supported on RouterOS. Starting from RouterOS v5.13 RC4 is the preferred cipher and AES will be used only if peer does not advertise RC4.
I get following error when trying to connect Windows 7 client. Error 0x80070320 The oplock that was associated with this handle is now associated with a different handle.
Disable verify-client-certificate option on the server.
I get following error «Encryption negotiation rejected”.
Disable use-encryption option in ppp profile.
admin

Share
Published by
admin

Recent Posts

vCenter Converter Standalone 9 download

vCenter Converter Standalone 9.0.0 download (далее…)

2 месяца ago

Download Service Pack for ProLiant (SPP) 2026.03 Gen10 and 10 Plus torrent

Service pack for HPE ProLiant Gen10 and 10 Plus (ver 2026.03.00.00) (SPP2026030000.2026_0326.14.iso) Service Pack for…

3 месяца ago

Download Service Pack for ProLiant (SPP) 2026.01 Gen10 and 10 Plus torrent

Service pack for HPE ProLiant Gen10 and 10 Plus (ver 2026.01.00.00) (SPP2026010000.2026_0206.13.iso) Service Pack for…

4 месяца ago

Wireguard on Mikrotik RouterOS 7

# add wg interface /interface/wireguard/add listen-port=51820 mtu=1300 # add ip on wg interface /ip/address/add address=10.100.10.1…

6 месяцев ago

VMware remote console (VMRC) 13 download

VMware remote console (VMRC) 13.0.1 download Last version: VMware Remote Console 13.0.1 | 29 Sept…

7 месяцев ago

Download Service Pack for ProLiant (SPP) 2025.01 Gen10 torrent

Gen10 Service Pack for ProLiant (SPP) Version 2025.01 Service Pack for ProLiant 2025.01 Gen10(P81139_001_gen10spp-2025.01.00.00-SPP2025010000.2025_0119.14.iso 8.22…

1 год ago