OpenServerPanel/system/ssl/add_root_to_certstore.bat
2024-01-25 22:33:10 +03:00

5 lines
184 B
Batchfile

@echo off
if not exist "%~dp0..\..\data\ssl\root\cert.crt" exit /b 1
certutil.exe -user -addstore "Root" "%~dp0..\..\data\ssl\root\cert.crt"
certutil.exe -urlcache * delete >nul 2>nul