Skip to content

Instantly share code, notes, and snippets.

View c0eos's full-sized avatar

Valentin Dubois c0eos

View GitHub Profile
@c0eos
c0eos / acme-cert-dump-all.py
Last active November 26, 2019 21:47
Dump all certificates from Traefik's acme.json to .pem files (updated from julien-marchand : https://gist.github.com/julien-marchand/0372bc63e0d1338ac1f35b2346f4f3a7)
#!/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")