Console-tool for creating ssl-key/-csr(/-crt) and -pem.
 
Go to file
Denis Knauf 343f6262d0 http://gnutls.org/manual/html_node/certtool-Invocation.html template added 2014-01-15 20:33:26 +01:00
.gitignore ignore any keys, certs, reqs... install-section in readme 2013-02-06 16:56:06 +01:00
Makefile make D=/path/.... 2013-07-17 23:18:22 +02:00
README.md ignore any keys, certs, reqs... install-section in readme 2013-02-06 16:56:06 +01:00
sslmake-gnutls sslmake-openssl (old sslmake). sslmake-gnutls added (prefered). 2013-05-27 16:52:28 +02:00
sslmake-openssl sslmake-openssl (old sslmake). sslmake-gnutls added (prefered). 2013-05-27 16:52:28 +02:00
template.cfg http://gnutls.org/manual/html_node/certtool-Invocation.html template added 2014-01-15 20:33:26 +01:00

README.md

Making SSL-Certificates

Creates keys and certificate requests via openssl. It tries to keep files, if there exist. But if you change one file, files which depend on it, will be recreated by this program.

Install

Dependencies

You need GNU-make and openssl. sslmake is a Makefile, so you really need make!

Install

First clone this git-repository. Or download only sslmake.

YOu only need to copy it to a directory, which found in your $PATH.

install --owner root --group root --mode 0755 -t /usr/local/bin sslmake

But it's possible to run sslmake local, so, you do not need any install.

./sslmake exmaple.cnf

Howto

All files will be replaced, if files which it depends on, are newer. For example, if you create the example.key, and you run sslmake example.csr, your CSR will be replaced be a new. But if your CSR is newer than the KEY, it will not replace your CSR.

First Use

If you creates something a first time, then you are alright here. Renewing and removing will follow in 'Second Use'.

  • Create the config:

      sslmake example.cnf
    

    This will copy /etc/ssl/openssl.cnf to local directory. Now you edit this file and you can do next step. Important are commonName_default and so on. If you do not know the openssl.cnf, you should read a openssl-howto about openssl.cnf.

  • Create the KEY:

      sslmake exmaple.key
    

    It will create a key-file example.key with a 4096 bit strong rsa.

  • Create the CSR:

      sslmake example.csr
    

    This will use example.cnf as configfile and creates a key and the csr if didn't exists. Everything in one step.