summaryrefslogtreecommitdiff
path: root/win/make_gnutls_cert.bat
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-07-09 01:53:07 -0400
committerAdam <Adam@anope.org>2012-07-09 01:53:07 -0400
commit6735f2da27df23ee34936a4b17727f4ba44c04e8 (patch)
treef98dfad166bc687843a38f40d43826ad4f3033a4 /win/make_gnutls_cert.bat
parent33b908aedc61d2bce3dcf8f062d6522e3bd14dfa (diff)
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.
Diffstat (limited to 'win/make_gnutls_cert.bat')
-rw-r--r--win/make_gnutls_cert.bat14
1 files changed, 14 insertions, 0 deletions
diff --git a/win/make_gnutls_cert.bat b/win/make_gnutls_cert.bat
new file mode 100644
index 000000000..97792cc29
--- /dev/null
+++ b/win/make_gnutls_cert.bat
@@ -0,0 +1,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 \ No newline at end of file