Skip to main content

ACME v2 Client using asyncio

Project description


AsyncIO ACME client for Python 3.


Moar async moar better. Seriously though, I wanted to utilize Python's asyncio to create an automatically certifying proxy server that "just works".


You can use the library as is, see acmeasync/ and acmeasync/ as guides for spinning your own implementations, or use the built in tls reverse proxy (currently raw TCP only).

To run the proxy:

export DOMAINS=","
export PORT=80 # or whatever port you wish to run the ACME challenge http server on, you need root to serve on 80, or you can forward 8080 if you're running in a docker container for example.
export EMAIL=""
export PROXIES="," # format: localport:remotehost:remoteport,...

It's recommended you run as root so that proxy processes can drop privileges and lose access to your private keys, but this is optional.

API documentation incoming soon...

But why Python?

Yeah, I know, the GIL, the proxy server uses multiprocessing to spawn a subprocess per connection, which should give much better performance. This kinda thing exists the nodejs world already, why not python too?


Pulled in by

  • acme
  • aiohttp
  • aiohttp-requests

Required from your OS:

  • python3-openssl

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acmeasync-0.1.6a0.tar.gz (9.9 kB view hashes)

Uploaded source

Built Distribution

acmeasync-0.1.6a0-py3-none-any.whl (11.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page