kittoku / Open-SSTP-Client

Open SSTP Client for Android
MIT License
402 stars 104 forks source link

Connesttion could not be estabilished #108

Closed lordrak007 closed 1 year ago

lordrak007 commented 1 year ago

[2022-12-04 10:16:40.576] Establish VPN connection [2022-12-04 10:16:40.975] OSC: ERR_UNEXPECTED javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

I install private CA but it can be installed only to private user store. New androids (from 10) does not allow import to system store. Could you add option to skip certificate verification or option to specify CA certificate folder? Thank you

kittoku commented 1 year ago

Please use Add Trusted Certificates option. BTW, this client also uses user store. So there would be another problem in your certificate.

lordrak007 commented 1 year ago

I added CA to user store and it did not help. I used Add Trusted Certificates option also with CA certificate and it did not work. When i put certificate itself to truted folder, then it start working.