Standalone¶
Support for standalone client challenge solvers.
-
class
acme.standalone.TLSServer(*args, **kwargs)[source]¶ Bases:
socketserver.TCPServerGeneric TLS Server.
-
class
acme.standalone.BaseDualNetworkedServers(ServerClass, server_address, *remaining_args, **kwargs)[source]¶ Bases:
objectBase class for a pair of IPv6 and IPv4 servers that tries to do everything it’s asked for both servers, but where failures in one server don’t affect the other.
If two servers are instantiated, they will serve on the same port.
-
class
acme.standalone.TLSSNI01Server(server_address, certs, ipv6=False)[source]¶ Bases:
acme.standalone.TLSServer,acme.standalone.ACMEServerMixinTLSSNI01 Server.
-
class
acme.standalone.TLSSNI01DualNetworkedServers(*args, **kwargs)[source]¶ Bases:
acme.standalone.BaseDualNetworkedServersTLSSNI01Server Wrapper. Tries everything for both. Failures for one don’t affect the other.
-
class
acme.standalone.BaseRequestHandlerWithLogging(request, client_address, server)[source]¶ Bases:
socketserver.BaseRequestHandlerBaseRequestHandler with logging.
-
class
acme.standalone.HTTPServer(*args, **kwargs)[source]¶ Bases:
http.server.HTTPServerGeneric HTTP Server.
-
class
acme.standalone.HTTP01Server(server_address, resources, ipv6=False)[source]¶ Bases:
acme.standalone.HTTPServer,acme.standalone.ACMEServerMixinHTTP01 Server.
-
class
acme.standalone.HTTP01DualNetworkedServers(*args, **kwargs)[source]¶ Bases:
acme.standalone.BaseDualNetworkedServersHTTP01Server Wrapper. Tries everything for both. Failures for one don’t affect the other.
-
class
acme.standalone.HTTP01RequestHandler(*args, **kwargs)[source]¶ Bases:
http.server.BaseHTTPRequestHandlerHTTP01 challenge handler.
Adheres to the stdlib’s
socketserver.BaseRequestHandlerinterface.Variables: simple_http_resources (set) – A set of HTTP01Resourceobjects. TODO: better name?-
class
HTTP01Resource(chall, response, validation)¶ Bases:
tuple-
_asdict()¶ Return a new OrderedDict which maps field names to their values.
-
classmethod
_make(iterable, new=<built-in method __new__ of type object at 0x9d43a0>, len=<built-in function len>)¶ Make a new HTTP01Resource object from a sequence or iterable
-
_replace(_self, **kwds)¶ Return a new HTTP01Resource object replacing specified fields with new values
-
chall¶ Alias for field number 0
-
response¶ Alias for field number 1
-
validation¶ Alias for field number 2
-
-
class