OpenServerPanel/system/ssl/add_root_to_certstore.bat

5 lines
184 B
Batchfile
Raw Normal View History

2024-01-25 19:33:10 +00:00
@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