Can not connect to hap light mikrotik using vpn sstp with certificate? recieve error in windows 8.1 The cn name of the certificate does not match the received value.
the program we take from https://wiki.mikrotik.com/wiki/Manual:Interface/SSTP#Connecting_Remote_Client
https://wiki.mikrotik.com/wiki/Manual:Create_Certificates
what is wrong in program why vpn sstp does not work,
Generate certificates on RouterOS
/certificate
add name=ca-template common-name=myCa key-usage=key-cert-sign,crl-sign
add name=server-template common-name=server
add name=client1-template common-name=client1
add name=client2-template common-name=client2
/certificate
sign ca-template ca-crl-host=00.00.00.00 name=myCa
sign server-template ca=myCa name=server
sign client1-template ca=myCa name=client1
sign client2-template ca=myCa name=client2
set myCa trusted=yes
set server trusted=yes
/certificate export-certificate myCa
/certificate export-certificate client1 export-passphrase=xxxxxxxx
/certificate export-certificate client2 export-passphrase=xxxxxxxx
to create a user
/ppp secret add name=Laptop service=sstp password=123 local-address=192.168.1.1 \
remote-address=192.168.1.253
/ppp secret print detail
/interface sstp-server server set certificate=server
/interface sstp-server server set enabled=yes
/interface sstp-server server set authentication=mschap2
/interface sstp-server server print