Given a ca.crt airdrop it to your iPhone.
Install the Profile
Go to:
Settings → General → VPN & Device Management
Tap:
Downloaded Profile → Install
Authenticate → Install → Done
Enable full trust (MOST PEOPLE MISS THIS)
Go to:
Settings → General → About → Certificate Trust Settings
You will see:
Enable Full Trust For Root Certificates [ ] Homelab Root CA