summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 12:27:07 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 12:27:07 +0200
commitdc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0 (patch)
tree0a2e75be9ea1aea55794797bd2c14420796828c4
parentAdded scripts for generating HTTPS cert and key. (diff)
downloadcuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.tar
cuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.tar.gz
cuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.tar.bz2
cuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.tar.lz
cuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.tar.xz
cuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.tar.zst
cuberite-dc2d2ce53c2f751f72217a26d4f68d72f5f0f5f0.zip
-rw-r--r--MCServer/webadmin/GenerateSelfSignedHTTPSCertUsingOpenssl.cmd2
1 files changed, 2 insertions, 0 deletions
diff --git a/MCServer/webadmin/GenerateSelfSignedHTTPSCertUsingOpenssl.cmd b/MCServer/webadmin/GenerateSelfSignedHTTPSCertUsingOpenssl.cmd
index 5257e1bd6..661cc34e8 100644
--- a/MCServer/webadmin/GenerateSelfSignedHTTPSCertUsingOpenssl.cmd
+++ b/MCServer/webadmin/GenerateSelfSignedHTTPSCertUsingOpenssl.cmd
@@ -4,6 +4,8 @@ echo Note that this script requires openssl to be installed and in PATH
echo.
echo When OpenSSL asks you for Common Name, you need to enter the fully qualified domain name of the server, that is, e. g. gallery.xoft.cz
echo.
+echo If OpenSSL fails with an error, "WARNING: can't open config file: /usr/local/ssl/openssl.cnf", you need to run this script as an administrator
+echo.
openssl req -x509 -newkey rsa:2048 -keyout httpskey.pem -out httpscert.crt -days 3650 -nodes
pause \ No newline at end of file