Git Product home page Git Product logo

cert-revoke-check's Introduction

Certificate Revocation List (CRL) Analysis Script

This Python script is designed to analyze Certificate Revocation Lists (CRLs) obtained from a given URL. It provides functionality to download the CRL, extract information such as the CRL number, creation time, next update time, count the number of certificates in the CRL, and compare it with a previous CRL if available. Additionally, it can read serial numbers from an Excel file and list revoked certificates from the target list.

Features

  • Downloads CRL from a specified URL.
  • Extracts CRL number, creation time, and next update time.
  • Copies CRL to a new file with timestamp.
  • Compares the current CRL with the previous CRL (if available) and lists newly revoked certificates.
  • Loads CRL content into memory.
  • Reads serial numbers from an Excel file and lists revoked certificates from the target list.
  • Counts the number of certificates in the current CRL.

Prerequisites

  • Python 3.x
  • OpenSSL
  • pandas library (for reading Excel files)

Usage

  1. Clone the repository or download the script (crl_analysis.py) to your local machine.
  2. Ensure that Python 3.x and OpenSSL are installed on your system.
  3. Install the pandas library by running pip install pandas.
  4. Run the script using python crl_analysis.py.
  5. Follow the on-screen prompts to provide necessary inputs and view the analysis results.

License

This project is licensed under the MIT License - see the LICENSE file for details.

cert-revoke-check's People

Contributors

marianov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.