mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
Simplify development environment setup (#1588)
This commit is contained in:
14
dev/create_certificates_windows.ps1
Normal file
14
dev/create_certificates_windows.ps1
Normal file
@ -0,0 +1,14 @@
|
||||
# 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;
|
||||
|
||||
$params['Subject'] = 'CN=Bitwarden Data Protection Dev';
|
||||
New-SelfSignedCertificate @params;
|
Reference in New Issue
Block a user