Certificate subject alternative name not working with IP address
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Steps to reproduce
Connecting over IP to Nextcloud server could not verify the certificate.
### Expected behaviour
Nextcloud App should read the certificate subject alternative name which contains the IP.
Working as expected on the same device with Chrome.
### Actual behaviour
Nextcloud app could not verify the server (Nextcloud Talk App works).


### Android version
13
### Device brand and model
Pixel 6a
### Stock or custom OS?
Stock
### Nextcloud android app version
3.24.1
### Nextcloud server version
25.0.4
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.