Giter Site home page Giter Site logo

ssl_maker's Introduction

x509 Self Signed cert maker

This is my attempt to make creating self signed certs for my internal projects easier.

Please edit and rename the openssl.cnf file so that it matches your need.

Be aware of what you push to git.

Certs and keys may accidentally be pushed to public git repo.

Please configure .gitignore as needed if you intend on making change on this repo and publishing it on your public repo.

How to use this make repo:

  • Make a clone or download this repo

  • Go to the directory

  • If you do not have a ca-cert then

    make ca-key
    make ca-cert
  • If you already have a ca-cert for your self signed cert copy this to the directory and rename it as ca-cert.pem and ca-cert.key

  • Edit the openssl conf as per your need

  • To generate the key and the certificate signing request file use the following

    make subdomain_websitename_com.key
    make subdomain_websitename_com.csr
  • Finally to create the cert use the following command

  openssl x509 -req -in *.csr -days 36500 -CA ca-cert.pem -CAkey ca-key.pem -set-serial 01 -out
  • A deploy is also includedto copy the files to the server as needed.
    • To deploy set the SERVER, USER and PKIFOLDER appropriately
    • Deploy will use scp to cpoy it to the remote server

Additional tools

  • CA cert can be checked using the following command
make check-ca

This is an example of what you can add if you would like to check your certs

TO DO:

  • Write a make directive for creating cert

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.