makecert.exe -n "CN=lacuna.com" -r -a sha1 -sv %1\lacuna.com.pvk %1\lacuna.com.cer -ss root

echo %errorlevel%
if not %errorlevel% == 0 ( EXIT )
makecert.exe -a sha1 -sk "lacuna.com" -iv %1\lacuna.com.pvk -n "CN=lacuna.com" -ic %1\lacuna.com.cer -sr currentuser -ss My
echo %errorlevel%
if not %errorlevel% == 0 ( EXIT )
rem where lacuna.com.cer
certutil.exe -addstore root %1\lacuna.com.cer
echo %errorlevel%
if not %errorlevel% == 0 ( EXIT )