ServerCrtificateInvalid error in the iOS app using local certificates

I have Passbolt setup in my local network and everything works fine but i cannot get the mobile app to work.

I have generated a certificate as described in the tutorial using openssl, i have added these certificates to Passbolt to get HTTPS to work and stuff, i have the certs added on my iPhone under General > VPN & Device Management > Configuration Profile and under General > About > Certificate Trust Settings it is nabled.

My phone is an iPhone 11 running iOS 17.1.

Here are the error logs:

Passbolt:
Device: iPhone
OS: 17.1
App: 1.16.1
----------
[2023-10-21 7:21:36 PM] Beginning new account transfer...
[2023-10-21 7:21:38 PM] Processing QR code payload...
[2023-10-21 7:21:38 PM] ...processing succeeded, continuing transfer...
[2023-10-21 7:21:38 PM] [81CE383E-CD4E-4FF9-ACA1-31B257634378] HTTP POST /mobile/transfers/554670f2-b9b9-4071-ac98-cd696571e5a5/a6e9944f-bf84-42eb-809d-bdd3f60981b6.json
[2023-10-21 7:21:38 PM] [81CE383E-CD4E-4FF9-ACA1-31B257634378] ServerCertificateInvalid
DiagnosticsContext:
•ServerCertificateInvalid - Untrusted certificate OSFeatures/NetworkRequestExecutor.swift:346
[2023-10-21 7:21:38 PM] ⚠️ ServerCertificateInvalid
DiagnosticsContext:
•ServerCertificateInvalid - Untrusted certificate OSFeatures/NetworkRequestExecutor.swift:346

Passbolt runs under Fedora version 38.

What am i doing wrong or what am i missing?

Hello @xochybytctoboi, welcome to our community :wink:

Could you explain which steps have you followed to get there? (e.g. how did you created the certificate, etc.)

Hello @antony thank you for your reply,

I followed this guide for creating the SSL certificate:

https://help.passbolt.com/configure/https/pro/debian/manual

And for installation i followed this guide:

https://help.passbolt.com/hosting/install/ce/fedora.html

Have you followed this guide?

Also, since you are mentioning VPN, could you tell us more about network environment?

Yes i have indeed followed that guide and imported the certificates into my phone as is described in the guide.

I do use a vpn to connect to my home network (where Passbolt is hosted), but even without then VPN (when im home) i get the same error.

Hi, have you resolved the problem in some way?