Skip to content

Instantly share code, notes, and snippets.

View DomenicoCutrupi's full-sized avatar

dom_ico DomenicoCutrupi

View GitHub Profile
@echo off
set /p domain="Enter Domain: "
set OPENSSL_CONF=../conf/openssl.cnf
if not exist .\%domain% mkdir .\%domain%
..\bin\openssl req -config cert.conf -new -sha256 -newkey rsa:2048 -nodes -keyout %domain%\server.key -x509 -days 3650 -out %domain%\server.crt
echo.
echo -----