From 0883cc40d409840d284c81ec3dd7da7f2052da1f Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 7 Nov 2015 18:50:02 +0200 Subject: [PATCH] Added example output to usage section. --- README.rst | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 6b4cd0c..4880b95 100644 --- a/README.rst +++ b/README.rst @@ -30,15 +30,32 @@ To generate a new key and certificate for the www host, the key will at ``keys/www`` and the certificate at ``certs/www`` :: $ ssl-ca gen www + Generating RSA private key, 512 bit long modulus + ................................++++++++++++ + ..++++++++++++ + e is 65537 (0x10001) + Signature ok + subject=/CN=*.*.www.domain.tld + Getting CA Private Key To sign existing keys, copy them to the ``keys/`` folder. All keys that don't have a matching certificate under ``certs/`` will be signed when running :: + $ openssl genrsa -out keys/smtp #Generate a key for smtp.domain.tld $ ssl-ca sign + Signature ok + subject=/CN=*.*.smtp.domain.tld + Getting CA Private Key To resign **ALL** existing keys (regardles of existing certificates) :: $ ssl-ca resign + Signature ok + subject=/CN=*.*.smtp.domain.tld + Getting CA Private Key + Signature ok + subject=/CN=*.*.www.smtp.domain.tld + Getting CA Private Key License ------- @@ -53,8 +70,6 @@ Nimrod Adar. TODO ---- -- Verify that the fqdn is correct. -- Fill out example output in the usage section. - Add checks and failure messages to each action. -- Delete serial file. +- Verify that the fqdn is correct. - Testing (creating a ca, creating a key and cert and verifying). -- GitLab