Giter Club home page Giter Club logo

certificate-tools-sh's Introduction

Certificate Tools - Shell

Scripts to help to work with certifcates

File Definition

 Below are some details to note:   

  • Each file with a specific extension has a purpose;
  • Crt file - File containing the certificate;
  • File key - Key related to that certificate;
  • Pem file - File containing key + certificate;
  • Pfx file - this is usually the file that contains a certificate, This is generated for example by exporting via browser.     - Usually through the tools it is possible to extract the other files from a pfx;     - This file usually has a password attached to it when it is exported from the browser,     the user needs to set the password, by default when it comes to the testing environment we set the password 123456;      

Tools

 To help with the certificate handling process we have some tools;  

Convert pem to pfx file

 Use script: tools.convert.pem.to.pfx.sh:       sh tools.convert.pem.to.pfx.sh [filename] .pem

Note: Will generate a file: [filename] .pfx

 

Convert pem file to pfx without key

 Use script: tools.convert.pem.to.pfx.without.key.sh:

    sh tools.convert.pem.to.pfx.without.sh [filename] .pem     

Note: Will generate a file: [filename] .pfx   

Convert pem file to (crt, key, and pem)

 Use script: tools.convert.pfx.to.cert.sh:       sh tools.convert.pfx.to.cert.sh [filename] .pfx  

Note: It will generate three files: [filename] .crt, [filename] .key and [filename] .pem

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.