Add more flexibility for SSL certificate support.

Hi,
I try to add more flexibility for SSL certificate support (name and format).

What'll you think?

Regards,
Guillaume