Skip to content

Instantly share code, notes, and snippets.

@teecee1
teecee1 / acme-cert-dump-all.py
Last active May 6, 2020 11:04 — forked from anthonyraymond/acme-cert-dump-all.py
Dump all certificates from Traefik's acme.json to .pem and .key files (traefik 2.0 with letsencrypt)
#!/usr/bin/env python
import argparse
import base64
import json
import os
def main():
parser = argparse.ArgumentParser(
description="Dump all certificates out of Traefik's acme.json file")