Does any of you have a clue how to alter the contents of Security.framework/TrustStore.sqlite3. It seems as if the iPhone uses it to store trusted CA certificat
To install your own CA certificate in iOS 13 (Simulator or Phone/Pad)
Your CA is now trusted. In older versions of the simulator you could just drag your certificate on the simulator but that no longer seems to work.
Remember that Apple limits the validation duration of your certificates so don't make them valid for 10 years but choose a shorter time.
If you fail at the first step then this is probably because your webserver doesn't recognise the .crt extension. Common web servers like Apache should work fine.