How to install S/MIME certificate on iOS 10.2
I would recommend CAcert which is a recognised free certificate provider.

You need to use Apple Configurator 2 tool to package your s/mime root certificate and personal certificate into a .mobileconfig otherwise iOS won't trust the certs.