Coder Social home page Coder Social logo

extractssl_script's Introduction

SSL Certificate Extraction and Cleanup Script

This project provides a Bash script to streamline the extraction and management of SSL certificates and private keys from a .pfx file. It performs various cleanup operations and prepares the necessary files for deployment.

Script Overview

Purpose

  • Remove clutter files.
  • Extract the private key and certificate from a .pfx file.
  • Verify the integrity of the extracted key and certificate.
  • Chain the extracted certificate with a DigiCert authority certificate.
  • Organize the final output and clean up the workspace.

Prerequisites

  • OpenSSL must be installed on your system.
  • Ensure you have the .pfx file and the DigiCertCA.crt file in the working directory.
  • Update the script with the correct password for your .pfx file.

Usage Instructions

  1. Make the script executable:

    chmod +x extract_ssl.sh
  2. Run the script:

    ./extract_ssl.sh

Notes

  • Ensure to replace ##Welcome123 and asdf with the actual passwords used in your .pfx file.
  • The script cleans up all intermediate files and only keeps the final crt and key in the final directory.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

extractssl_script's People

Contributors

juandi-m 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.