From 16e1e8d78edd074c62a784925fb3dcc93b7afa64 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 10 Nov 2017 15:30:18 -0500 Subject: [PATCH] create empty ssl directory if using own certs --- util/Setup/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/Setup/Program.cs b/util/Setup/Program.cs index 2ccc8f7a69..dd2e491354 100644 --- a/util/Setup/Program.cs +++ b/util/Setup/Program.cs @@ -5,6 +5,7 @@ using System.Collections.Generic; using System.Data.SqlClient; using System.Net.Http; using System.Reflection; +using System.IO; namespace Bit.Setup { @@ -75,6 +76,7 @@ namespace Bit.Setup if(ssl) { + Directory.CreateDirectory($"/bitwarden/ssl/{domain}/"); Console.WriteLine("Make sure 'certificate.crt' and 'private.key' are provided in the " + "appropriate directory (see setup instructions)."); }