System X.509 handling. WWW: https://github.com/vincenthz/hs-certificate