acmeasync package¶
Submodules¶
acmeasync.acmele module¶
-
class
acmeasync.acmele.
ACMELE
(directory_uri: str)[source]¶ Bases:
object
ACME Client
-
property
account_key_thumbprint
¶
-
async
createAccount
(email: str, termsOfServiceAgreed: bool) → bool[source]¶ Create a new account. Only call this if loadAccount fails.
-
async
createOrder
(domains: Iterable[str]) → acmeasync.acmele.Order[source]¶ Create a new order for domains.
-
property
-
class
acmeasync.acmele.
Authorization
(acme: acmeasync.acmele.ACMELE, location: str, data: Dict[str, Any])[source]¶ Bases:
acmeasync.util.Statusable
,acmeasync.util.Representable
ACME Authorization
-
async
challenges
(challType: Optional[str] = None) → List[acmeasync.acmele.Challenge][source]¶
-
async
-
class
acmeasync.acmele.
Challenge
(acme: acmeasync.acmele.ACMELE, location: str, data: Dict[str, Any])[source]¶ Bases:
acmeasync.util.Statusable
,acmeasync.util.Representable
ACME Challenge
-
async
begin
() → acmeasync.acmele.Challenge[source]¶
-
async
-
class
acmeasync.acmele.
Order
(acme: acmeasync.acmele.ACMELE, location: str, data: Dict[str, Any])[source]¶ Bases:
acmeasync.util.Statusable
,acmeasync.util.Representable
ACME Order
-
async
finalize
(csr_bytes: bytes) → acmeasync.acmele.Order[source]¶
-
async
acmeasync.certbot2 module¶
acmeasync.proxyserver module¶
-
class
acmeasync.proxyserver.
ProxyServer
(local_port: int, remote_host: str, remote_port: int, *domains: str)[source]¶ Bases:
object
-
async
acmeasync.proxyserver.
open_accepted_socket
(sock: socket.socket, ssl: Optional[ssl.SSLContext] = None) → Tuple[asyncio.streams.StreamReader, asyncio.streams.StreamWriter][source]¶