mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
create empty ssl directory if using own certs
This commit is contained in:
@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace Bit.Setup
|
namespace Bit.Setup
|
||||||
{
|
{
|
||||||
@ -75,6 +76,7 @@ namespace Bit.Setup
|
|||||||
|
|
||||||
if(ssl)
|
if(ssl)
|
||||||
{
|
{
|
||||||
|
Directory.CreateDirectory($"/bitwarden/ssl/{domain}/");
|
||||||
Console.WriteLine("Make sure 'certificate.crt' and 'private.key' are provided in the " +
|
Console.WriteLine("Make sure 'certificate.crt' and 'private.key' are provided in the " +
|
||||||
"appropriate directory (see setup instructions).");
|
"appropriate directory (see setup instructions).");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user