Skip to content

Commit ee904aa

Browse files
committed
server-ssl.js
Fix a regression in the batch file that prevented you from using a certificate/private-key with a different name or relative path /root │ ├── /error │ ├── 404.html │ └── 500.html │ ├── /ssl │ ├── /openssl │ │ │ ├── private-key.pem │ └── certificate.pem │ └── state.js │ ├── /wwwroot │ └── index.html <---- Your website goes here │ ├── server-ssl.js <--- server config └── start-windows.bat
1 parent e0e8bce commit ee904aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

start-windows.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if "%KEYS%"=="1" (
101101
echo Generating Keys for Local Development
102102

103103
if "!OPEN_SSL_IN_PATH!"=="1" (
104-
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -keyout ssl/private-key.pem -out "ssl/%CERT%" -days 365 -subj "/CN=localhost"
104+
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -keyout "ssl/%PK%" -out "ssl/%CERT%" -days 365 -subj "/CN=localhost"
105105
)
106106

107107
if "!OPEN_SSL_IN_PATH!"=="2" (

0 commit comments

Comments
 (0)