%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/states/acme.pyc

�
���^c@@s�dZddlmZmZmZddlZeje�Zd�Z	dddeddddddddddddddd�ZdS(u5
ACME / Let's Encrypt certificate management state
=================================================

.. versionadded: 2016.3

See also the module documentation

.. code-block:: yaml

    reload-gitlab:
      cmd.run:
        - name: gitlab-ctl hup

    dev.example.com:
      acme.cert:
        - aliases:
          - gitlab.example.com
        - email: acmemaster@example.com
        - webroot: /opt/gitlab/embedded/service/gitlab-rails/public
        - renew: 14
        - fire_event: acme/dev.example.com
        - onchanges_in:
          - cmd: reload-gitlab

i(tabsolute_importtprint_functiontunicode_literalsNcC@s
dtkS(u/
    Only work when the ACME module agrees
    u	acme.cert(t__salt__(((s4/usr/lib/python2.7/site-packages/salt/states/acme.pyt__virtual__#surootu0640c&C@s�tdr�i|d6id6d"d6}d"}yt|�}Wntk
rNnXdj|�}td|�s{|d7}n4td||�r�|d	7}n|d
7}t|d<||d<|Std|�s�d"}ntd|�}td
|d|d|d|d|d|d|d|d|d|d|	d|
d|d|
d|d|d|d|d|�}i|d6|dtk	d6|dd6}|dd"kr�i|d<nAtd|�s�d"}ntd|�}i|d 6|d!6|d<|S(#u�
    Obtain/renew a certificate from an ACME CA, probably Let's Encrypt.

    :param name: Common Name of the certificate (DNS name of certificate)
    :param aliases: subjectAltNames (Additional DNS names on certificate)
    :param email: e-mail address for interaction with ACME provider
    :param webroot: True or a full path to webroot. Otherwise use standalone mode
    :param test_cert: Request a certificate from the Happy Hacker Fake CA (mutually exclusive with 'server')
    :param renew: True/'force' to force a renewal, or a window of renewal before expiry in days
    :param keysize: RSA key bits
    :param server: API endpoint to talk to
    :param owner: owner of the private key file
    :param group: group of the private key file
    :param mode: mode of the private key file
    :param certname: Name of the certificate to save
    :param preferred_challenges: A sorted, comma delimited list of the preferred
                                 challenge to use during authorization with the
                                 most preferred challenge listed first.
    :param tls_sni_01_port: Port used during tls-sni-01 challenge. This only affects
                            the port Certbot listens on. A conforming ACME server
                            will still attempt to connect on port 443.
    :param tls_sni_01_address: The address the server listens to during tls-sni-01
                               challenge.
    :param http_01_port: Port used in the http-01 challenge. This only affects
                         the port Certbot listens on. A conforming ACME server
                         will still attempt to connect on port 80.
    :param https_01_address: The address the server listens to during http-01 challenge.
    :param dns_plugin: Name of a DNS plugin to use (currently only 'cloudflare')
    :param dns_plugin_credentials: Path to the credentials file if required by the specified DNS plugin
    utestunameuchangesuresultuCertificate {0} uacme.hasuwould have been obtaineduacme.needs_renewaluwould have been reneweduwould not have been toucheducommentu	acme.infou	acme.certtaliasestemailtwebroottcertnamet	test_certtrenewtkeysizetservertownertgrouptmodetpreferred_challengesttls_sni_01_portttls_sni_01_addressthttp_01_portthttp_01_addresst
dns_plugintdns_plugin_credentialsuoldunewN(t__opts__tNonetintt	ExceptiontformatRtTruetFalse(tnameRRRR	R
RRR
RRRRRRRRRRtrettwindowtcommenttoldtrestnew((s4/usr/lib/python2.7/site-packages/salt/states/acme.pytcert*sn2







		
	(
t__doc__t
__future__RRRtloggingt	getLoggert__name__tlogRRRR%(((s4/usr/lib/python2.7/site-packages/salt/states/acme.pyt<module>s,	

Zerion Mini Shell 1.0