mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Uppercase Bitwarden
This commit is contained in:
@ -29,7 +29,7 @@ namespace Bit.Setup
|
||||
Helpers.Exec("openssl req -x509 -newkey rsa:4096 -sha256 -nodes -days 365 " +
|
||||
$"-keyout /bitwarden/ssl/self/{Domain}/private.key " +
|
||||
$"-out /bitwarden/ssl/self/{Domain}/certificate.crt " +
|
||||
$"-subj \"/C=US/ST=New York/L=New York/O=8bit Solutions LLC/OU=bitwarden/CN={Domain}\"");
|
||||
$"-subj \"/C=US/ST=New York/L=New York/O=8bit Solutions LLC/OU=Bitwarden/CN={Domain}\"");
|
||||
}
|
||||
|
||||
if(LetsEncrypt)
|
||||
@ -41,7 +41,7 @@ namespace Bit.Setup
|
||||
Console.WriteLine("Generating key for IdentityServer.");
|
||||
Directory.CreateDirectory("/bitwarden/identity/");
|
||||
Helpers.Exec("openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout identity.key " +
|
||||
"-out identity.crt -subj \"/CN=bitwarden IdentityServer\" -days 10950");
|
||||
"-out identity.crt -subj \"/CN=Bitwarden IdentityServer\" -days 10950");
|
||||
Helpers.Exec("openssl pkcs12 -export -out /bitwarden/identity/identity.pfx -inkey identity.key " +
|
||||
$"-in identity.crt -certfile identity.crt -passout pass:{IdentityCertPassword}");
|
||||
|
||||
|
@ -212,7 +212,7 @@ namespace Bit.Setup
|
||||
private static void PrintEnvironment()
|
||||
{
|
||||
var vaultUrl = Helpers.GetValueFronEnvFile("global", "globalSettings__baseServiceUri__vault");
|
||||
Console.WriteLine("\nbitwarden is up and running!");
|
||||
Console.WriteLine("\nBitwarden is up and running!");
|
||||
Console.WriteLine("===================================================");
|
||||
Console.WriteLine("\nvisit {0}", vaultUrl);
|
||||
Console.Write("to update, run ");
|
||||
@ -313,7 +313,7 @@ namespace Bit.Setup
|
||||
}
|
||||
catch
|
||||
{
|
||||
Console.WriteLine("Unable to validate installation id. Problem contacting bitwarden server.");
|
||||
Console.WriteLine("Unable to validate installation id. Problem contacting Bitwarden server.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user