From 8be5166a755d32fcc638fb94aa40a968bc1e1dda Mon Sep 17 00:00:00 2001
From: Stefan Galinski <stefan@sgalinski.de>
Date: Thu, 7 Dec 2017 20:50:16 +0100
Subject: [PATCH] [BUGFIX] No hardcoded serial number!!!

---
 recipes/default.rb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes/default.rb b/recipes/default.rb
index f3c9ece..e3a894c 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -261,9 +261,10 @@ template '/etc/apache2/ssl/rootCA.pem' do
 	source 'rootCA.pem'
 end
 
-template '/etc/apache2/ssl/rootCA.srl' do
-	source 'rootCA.srl'
-end
+# Serial file (don't use that as you can't create more than one certificate if you add this!)
+# template '/etc/apache2/ssl/rootCA.srl' do
+# 	source 'rootCA.srl'
+# end
 
 bash 'Create Certificate' do
 	cwd '/etc/apache2/ssl/'
-- 
GitLab