SSTP Server setting got connection reset

Hi,

I'm trying to setup hAP ac as SSTP server for Windows client following Mikrotik wiki but not succeeded yet..
When I trigger to connect from Windows 10 PC, it said "Connection closed"(not sure exact English error message because of translation and when I tried to check with browser by https://xxxxx, I got connection reset. Log said nothing. Certificate (wild card) is installed. I also tested PPTP and L2TP and those worked good.
Do you have any advice where I should look into?
Any comments are much appreciated.

Here's my config, hiding sensitive.

jan/18/2020 17:34:54 by RouterOS 6.46.2

software id = 7PHY-88UU

model = RouterBOARD 962UiGS-5HacT2HnT

serial number = 702406F25A73

/interface bridge
add admin-mac=6C:3B:6B:13:7E:CD auto-mac=no comment=defconf name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX country=japan disabled=no distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=MikroTik-137ED3 wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=japan disabled=no distance=indoors frequency=auto installation=indoor mode=ap-bridge ssid=MikroTik-137ED2 wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.200
add name=pptp ranges=192.168.88.201-192.168.88.240
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/ppp profile
add local-address=pptp name=pptp remote-address=pptp
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=sfp1
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface l2tp-server server
set authentication=mschap2 default-profile=pptp use-ipsec=required
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface pptp-server server
set authentication=mschap2 default-profile=pptp
/interface sstp-server server
set authentication=mschap2 certificate=STAR_domainname_co_jp.pfx_0 default-profile=pptp enabled=yes force-aes=yes pfs=yes
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input dst-port=22 protocol=tcp
add action=accept chain=input dst-port=80 protocol=tcp
add action=accept chain=input dst-port=443 protocol=tcp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip service
set www-ssl certificate=STAR_domainname_co_jp.pfx_0
/ppp secret
add name=schino profile=pptp
/system clock
set time-zone-name=Asia/Tokyo
/system logging
add topics=sstp
add topics=ppp
add topics=certificate
add topics=ssh
/system ntp client
set enabled=yes primary-ntp=10.20.20.1
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

Here's log when connection failed. I enabled SSTP facility.

17:37:53 sstp,ppp,debug : CCP close
17:37:53 sstp,ppp,debug : BCP close
17:37:53 sstp,ppp,debug : IPCP close
17:37:53 sstp,ppp,debug : IPV6CP close
17:37:53 sstp,ppp,debug : MPLSCP close
17:37:53 sstp,ppp,debug : LCP lowerdown
17:37:53 sstp,ppp,debug : LCP down event in initial state

Did you create the certificates needed?
Did you import the certificate in your windows computer ?

Thanks for the comment!
I used wildcard certificated purchased from Comodo.
But I found the cause.

I did import the certificate from pfx file with private key and thought key was also imported but actually it’s not.
import pfx with the key did not import key, but the certificate only. I needed to import the private key separately.
It works now.

Thanks again!

Great…
It was obvious it is a certificate problem…