I came across Let's Encrypt that can provide free SSL certificates and has a protocol that allows a web service to obtain the certificates "on the fly".
Here is a list of information that may be of your interest before you try. You can certainly find out the information for their website.
- Which browsers and operating systems support Let’s Encrypt?
- Root Certificates and chain of trust
- User community