summaryrefslogtreecommitdiff
path: root/win/make_gnutls_cert.bat
blob: 159cd1012ee96b9ae3147ba78b4275e7aecb63b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@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