Update gen_root_cert.bat

This commit is contained in:
OSPanel 2024-04-01 20:54:48 +03:00
parent e86e7e8ef3
commit c7d8d98e49

View file

@ -5,7 +5,7 @@ set "OPENSSL_CONF=%~dp0openssl.cnf"
set "ROOT_CERT_FILE=%~dp0..\..\data\ssl\root\cert.crt"
set "ROOT_KEY_FILE=%~dp0..\..\data\ssl\root\cert.key"
set "ROOT_CA_FILE=%~dp0..\..\data\ssl\cacert.pem"
set "PERL_CA_ROOT=%~dp0..\..\addons\Perl\perl\vendor\lib\Mozilla\CA"
set "PERL_CA_ROOT=%~dp0..\..\addons\Perl-5.32\perl\vendor\lib\Mozilla\CA"
if not exist "%~dp0..\..\data\ssl\root\" mkdir "%~dp0..\..\data\ssl\root"
del /Q "%ROOT_CERT_FILE%" >nul 2>nul
del /Q "%ROOT_KEY_FILE%" >nul 2>nul