inspircd/win/make_gnutls_cert.bat
Adam 6735f2da27 Fixed Windows build, int32_t is already defined in stdint.h.
Add GnuTLS support for Windows.
Made NSIS script include extra DLL files if supplied and
include the conf/aliases and conf/modules example configuration files.
Added make_gnutls_cert.bat to generate GnuTLS certificates on Windows.
Fixed typo in gnutlscert.pm.
2012-07-09 01:53:07 -04:00

14 lines
438 B
Batchfile

@echo off
echo This program will generate SSL certificates for m_ssl_gnutls.so
echo Ensure certtool.exe is in your system path. It can be downloaded
echo at ftp://ftp.gnu.org/gnu/gnutls/w32/. If you do not know the answer
echo to one of the questions just press enter.
echo.
pause
certtool --generate-privkey --outfile conf/key.pem
certtool --generate-self-signed --load-privkey conf/key.pem --outfile conf/cert.pem
pause