mirror of
https://github.com/bitwarden/server.git
synced 2025-05-29 07:14:50 -05:00
self-signed ssl cert warning
This commit is contained in:
parent
a9481bd524
commit
54aef8e8d3
@ -25,6 +25,12 @@ namespace Bit.Setup
|
|||||||
{
|
{
|
||||||
if(Helpers.ReadQuestion("Do you want to generate a self-signed SSL certificate?"))
|
if(Helpers.ReadQuestion("Do you want to generate a self-signed SSL certificate?"))
|
||||||
{
|
{
|
||||||
|
var message = "You are using a self-signed SSL certificate. This certificate will not be \n" +
|
||||||
|
"trusted by Bitwarden client applications. You must add this certificate to \n" +
|
||||||
|
"the trusted store on each device or else you will receive errors when trying \n" +
|
||||||
|
"to connect to your installation.";
|
||||||
|
Helpers.ShowBanner("WARNING", message, ConsoleColor.Yellow);
|
||||||
|
|
||||||
Directory.CreateDirectory($"/bitwarden/ssl/self/{Domain}/");
|
Directory.CreateDirectory($"/bitwarden/ssl/self/{Domain}/");
|
||||||
Console.WriteLine("Generating self signed SSL certificate.");
|
Console.WriteLine("Generating self signed SSL certificate.");
|
||||||
Ssl = selfSignedSsl = true;
|
Ssl = selfSignedSsl = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user