MCPcopy Index your code
hub / github.com/zappa/Zappa / create_domain_key

Function create_domain_key

zappa/letsencrypt.py:115–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114
115def create_domain_key():
116 with open(os.devnull, "wb") as devnull:
117 out = subprocess.check_output(["openssl", "genrsa", "2048"], stderr=devnull)
118 with open(os.path.join(gettempdir(), "domain.key"), "wb") as f:
119 f.write(out)
120
121
122def create_domain_csr(domain):

Callers 2

Calls 1

gettempdirFunction · 0.85

Tested by 1