Giter Club home page Giter Club logo

developer-ssl-certificates's Introduction

Developer-SSL-Certificates

Generate a local Certificate Authority and self-signed certificates for SSL support during local development

Dependencies

You need OpenSSL for these scripts to work.

macOS

On macOS you can use brew to install OpenSSL by executing the following command in a terminal:

brew install OpenSSL

If you don't have brew installed, look at their homepage on how to install brew.

Installation

  1. Clone the repository
  2. cd into the MacOS directory
  3. Call chmod +x generate-ca.sh
  4. Call chmod +x generate-cert.sh
  5. Check the settings in ca.conf
  6. Check the settings in certificate.conf
  7. Add your local domains and IP-addresses to certificate-ext.conf
  8. Call ./generate-ca.sh to generate the Certificate Authority private key and Certificate
  9. Call ./generate-cert.sh to generate the Certificate and sign it with the CA private key
  10. Import the CA certificate in Key Chain Access

Windows

On Windows, you can use Chocolatey to install OpenSSL by executing the following command in a cmd window:

choco install OpenSSL

If you don't have Chocolatey installed, look at their homepage on how to install Chocolatey.

Installation

  1. Clone the repository
  2. cd into the Windows directory
  3. Check the settings in ca.conf
  4. Check the settings in certificate.conf
  5. Add your local domains and ip-addresses to certificate-ext.conf
  6. Call generate-ca.bat to generate the Certificate Authority private key and CA certificate
  7. Call generate-cert.bat to generate the Certificate and sign it with the CA private key
  8. Install the CA certificate using the Certificate Manager

developer-ssl-certificates's People

Contributors

patrickkalkman 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.