The CAcert root certificate is not installed in many browsers by default but it is normally just a matter of visiting a link to it to get it installed. I suggest trying the PEM Format version first.
For iPhone 3G the PEM format works. Click “Accept” for “Accept Website Certificate”. This takes you to the “Install Profile” page and you can click “Install” from there. Confirm “Install Now” to complete the install.