Closed falciloid closed 3 months ago
Same here, trying to connect to Microsoft RRAS SSTP server, getting same error. The same connection works using SSTP Max.
This error means that you use certificate which is not trusted by Android/app. To fix it go to app settings and uncheck Verify Hostname, then enable Specify Trusted Certificates and put your certificate in any specified directory.
Didnt checked it in Google Play's version, but this works with latest 1.7.1 and Mikrotik self-signed certificate.
Update: My fault, I typed wrong port number. The server has two port, one is CA trusted, one is self-signed. The CA trusted one works.
This is more like a bug instead of wrong user configuration. The same server can be connected directly by using Windows 10 and 11 built in SSTP client without place cert files manually.
Copy cert manually indeed temporary work, however the cert is updated every few weeks.
Similar exception: https://github.com/axios/axios/issues/5271
I hope when the app discovered server's cert is not trusted, show a dialog tells "could not verify server's cert", and print server cert information like issued to, issued by, valid from, this can help better identify problems.
Current notify OSC: ERR_UNEXPECTED
provide information too few.
Found on opensstp version 1.6.5.1 from play market. Trying to connect to personal SSTP server with let's encrypt certificate on server side.
At SSL layer I just set to verify hostname and SSL version to TLS 1.2.
Logs below