![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /lib/python2.7/site-packages/certbot/_internal/plugins/ |
� ���_c @ s d Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z e j j e j � e j j e j � d e j f d � � Y� � Z d S( s Manual authenticator plugini����N( t challenges( t Dict( t achallenges( t errors( t interfaces( t reverter( t util( t hooks( t misc( t os( t commont Authenticatorc B s� e Z d Z d Z e Z d Z d Z d Z d Z d Z d � Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s� Manual authenticator This plugin allows the user to perform the domain validation challenge(s) themselves. This either be done manually by the user or through shell scripts provided to Certbot. s2 Manual configuration or run your own shell scriptss� Authenticate through manual configuration or custom shell scripts. When using shell scripts, an authenticator script must be provided. The environment variables available to this script depend on the type of challenge. $CERTBOT_DOMAIN will always contain the domain being authenticated. For HTTP-01 and DNS-01, $CERTBOT_VALIDATION is the validation string, and $CERTBOT_TOKEN is the filename of the resource requested when performing an HTTP-01 challenge. An additional cleanup script can also be provided and can use the additional variable $CERTBOT_AUTH_OUTPUT which contains the stdout output from the auth script. For both authenticator and cleanup script, on HTTP-01 and DNS-01 challenges, $CERTBOT_REMAINING_CHALLENGES will be equal to the number of challenges that remain after the current one, and $CERTBOT_ALL_DOMAINS contains a comma-separated list of all domains that are challenged for the current certificate.s� Please deploy a DNS TXT record under the name {domain} with the following value: {validation} Before continuing, verify the record is deployed.su Create a file containing just this data: {validation} And make it available on your web server at this URL: {uri} s� (This must be set up in addition to the previous challenges; do not remove, replace, or undo the previous challenge tasks yet.) s� (This must be set up in addition to the previous challenges; do not remove, replace, or undo the previous challenge tasks yet. Note that you might be asked to create multiple distinct TXT records with the same name. This is permitted by DNS standards.) c O sZ t t | � j | | � t j | j � | _ | j j � i | _ t | _ t | _ d S( N( t superR t __init__R t Revertert configt recovery_routinet envt Falset subsequent_dns_challenget subsequent_any_challenge( t selft argst kwargs( ( sD /usr/lib/python2.7/site-packages/certbot/_internal/plugins/manual.pyR H s c C s7 | d d d �| d d d �t j | d d � d S( Ns auth-hookt helps8 Path or command to execute for the authentication scripts cleanup-hooks1 Path or command to execute for the cleanup scripts public-ip-logging-oki ( R t add_deprecated_argument( t clst add( ( sD /usr/lib/python2.7/site-packages/certbot/_internal/plugins/manual.pyt add_parser_argumentsQ s c C sN | j j r@ | j d � r@ t j d j | j d � � � � n | j � d S( Ns auth-hooksd An authentication script must be provided with --{0} when using the manual plugin non-interactively.( R t noninteractive_modet confR t PluginErrort formatt option_namet _validate_hooks( R ( ( sD /usr/lib/python2.7/site-packages/certbot/_internal/plugins/manual.pyt prepareY s c C sl | j j rh xY d D]N } | j | � } | d k r | j | � t d � } t j | | � q q Wn d S( Ns auth-hooks cleanup-hooks -hook( s auth-hooks cleanup-hook( R t validate_hooksR t NoneR! t lenR t validate_hook( R t namet hookt hook_prefix( ( sD /usr/lib/python2.7/site-packages/certbot/_internal/plugins/manual.pyR"