supergeorg / Grocy-SwiftUI

A client for Grocy for macOS and iOS, written with SwiftUI
GNU General Public License v3.0
177 stars 17 forks source link

Won't connect to grocy server with self signed cert #195

Open joochung opened 6 months ago

joochung commented 6 months ago

I self host a grocy server with a self signed cert. When I try to connect the app to my grocy server, it complains about an invalid certificate and won't let me connect. It would be nice to have the option to accept the self signed cert, expired cert, etc...

supergeorg commented 6 months ago

If you have a local server, using no certificate (http) might be an option with the next version.

The other way is to install your root CA on your device, so the check is valid. Apple is really strict to enforce certificates, so that a minimum level of security gets maintained.