@@ -0,0 +1,635 @@
+#!/usr/bin/env python%0A%22%22%22Script to transform letsencrypt certificate files into string that can be inserted into%0Aenvironment variable for Tutum to pick up.%0A%0APut your private key in certs/privkey.pem and your certificate in certs/fullchain.pem,%0Athen run this script in order to obtain a certificate string compatible with HAProxy and ready%0Afor inserting into an environment variable.%0A%22%22%22%0Aimport re%0A%0Awith open('certs/privkey.pem', 'rb') as f:%0A    private_key = f.read().replace('%5Cn', '%5C%5Cn')%0A%0Awith open('certs/fullchain.pem', 'rb') as f:%0A    certificate = f.read().replace('%5Cn', '%5C%5Cn')%0A%0Aprint(%22%22%22%7B%7D%7B%7D%22%22%22.format(private_key, certificate))%0A

Add script for transforming letsencrypt certificate