I was just reading Devices offline & VPN Error: Cannot load DH parameters from dh.pem which might be helpful for some.
It didn’t work for me, admittedly and I’m still getting SELF_SIGNED_CERT_IN_CHAIN: request to https://api.{mydomain}/login_ failed, reason: self signed certificate in certificate chain
.