mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
8d36dfa5d3
* Remove Certificate Steps from Setup * Add Helpers to VSCode Tasks * Force Ephermal Key in Integration Tests * Add Property to Interface
12 lines
345 B
PowerShell
12 lines
345 B
PowerShell
# Script for generating and installing the Bitwarden development certificates on Windows.
|
|
|
|
$params = @{
|
|
'KeyAlgorithm' = 'RSA';
|
|
'KeyLength' = 4096;
|
|
'NotAfter' = (Get-Date).AddDays(3650);
|
|
'CertStoreLocation' = 'Cert:\CurrentUser\My';
|
|
};
|
|
|
|
$params['Subject'] = 'CN=Bitwarden Identity Server Dev';
|
|
New-SelfSignedCertificate @params;
|