mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 14:24:47 +02:00
Let's call it "./unrealircd mkcert" instead (like mkpasswd). Fix test suite.
This commit is contained in:
@@ -188,7 +188,7 @@ if [ "$QUICK" != "1" ] ; then
|
||||
echo "*******************************************************************************"
|
||||
echo "Press ENTER to continue"
|
||||
read cc
|
||||
./unrealircd makecert
|
||||
./unrealircd mkcert
|
||||
echo "Certificate created successfully."
|
||||
sleep 1
|
||||
else
|
||||
|
||||
+1
-1
@@ -266,7 +266,7 @@ install: all
|
||||
|
||||
pem:
|
||||
@echo "The command 'make pem' is no longer used to generate the TLS certificate."
|
||||
@echo "Please run './unrealircd makecert' instead."
|
||||
@echo "Please run './unrealircd mkcert' instead."
|
||||
|
||||
Makefile: config.status Makefile.in
|
||||
./config.status
|
||||
|
||||
@@ -41,7 +41,7 @@ if [ "$SSLDIR" != "" ]; then
|
||||
fi
|
||||
./Config -quick || (tail -n 5000 config.log; exit 1)
|
||||
$MAKE
|
||||
yes ''|$MAKE pem
|
||||
(echo 'Y'; yes '')|./unrealircd mkcert
|
||||
$MAKE || exit 1
|
||||
$MAKE install || exit 1
|
||||
./unrealircd module install third/dumpcmds || exit 1
|
||||
|
||||
@@ -358,7 +358,7 @@ SSL_CTX *init_ctx(TLSOptions *tlsoptions, int server)
|
||||
{
|
||||
unreal_log(ULOG_ERROR, "config", "TLS_LOAD_FAILED_DEFAULT_CERT", NULL,
|
||||
"It seems the default certificate is missing. "
|
||||
"Run './unrealircd makecert' "
|
||||
"Run './unrealircd mkcert' "
|
||||
"to generate a self-signed cert.");
|
||||
}
|
||||
goto fail;
|
||||
@@ -457,7 +457,7 @@ SSL_CTX *init_ctx(TLSOptions *tlsoptions, int server)
|
||||
{
|
||||
unreal_log(ULOG_ERROR, "config", "TLS_CERTIFICATE_CHECK_FAILED", NULL,
|
||||
"There is a problem with your TLS certificate: $quality_check_error\n"
|
||||
"If you use the standard UnrealIRCd certificates then you can simply run './unrealircd makecert' "
|
||||
"If you use the standard UnrealIRCd certificates then you can simply run './unrealircd mkcert' "
|
||||
"to create and install new certificates",
|
||||
log_data_string("quality_check_error", errstr));
|
||||
goto fail;
|
||||
|
||||
+3
-3
@@ -17,7 +17,7 @@ OPENSSLPATH="@OPENSSLPATH@"
|
||||
# older gcc/clang might dump a 16TB core file. We explicitly enable it here.
|
||||
export ASAN_OPTIONS="abort_on_error=1:disable_coredump=0:unmap_shadow_on_exit=1:log_path=$TMPDIR/unrealircd_asan:detect_leaks=0"
|
||||
|
||||
if [ "$1" != "makecert" ] && [ ! -f $IRCD ]; then
|
||||
if [ "$1" != "mkcert" ] && [ ! -f $IRCD ]; then
|
||||
echo "ERROR: Could not find the IRCd binary ($IRCD)"
|
||||
echo "This could mean two things:"
|
||||
echo "1) You forgot to run 'make install' after running 'make'"
|
||||
@@ -269,7 +269,7 @@ __EOF__
|
||||
echo "Thanks!"
|
||||
elif [ "$1" = "spki" -o "$1" = "spkifp" ] ; then
|
||||
$UNREALIRCDCTL $*
|
||||
elif [ "$1" = "makecert" ] ; then
|
||||
elif [ "$1" = "mkcert" ] ; then
|
||||
TLSDIR="$CONFDIR/tls"
|
||||
KEY="$TLSDIR/server.key.pem"
|
||||
CERT="$TLSDIR/server.cert.pem"
|
||||
@@ -507,13 +507,13 @@ else
|
||||
echo "unrealircd stop Stop (kill) the IRC Server"
|
||||
echo "unrealircd rehash Reload the configuration file"
|
||||
echo "unrealircd reloadtls Reload the SSL/TLS certificates"
|
||||
echo "unrealircd makecert Create or replace the self-signed TLS certificate"
|
||||
echo "unrealircd restart Restart the IRC Server (stop+start)"
|
||||
echo "unrealircd status Show current status of the IRC Server"
|
||||
echo "unrealircd module-status Show all currently loaded modules"
|
||||
echo "unrealircd upgrade Upgrade UnrealIRCd to the latest version (or the next available"
|
||||
echo " release candidate if the --rc argument is used)"
|
||||
echo "unrealircd mkpasswd Hash a password"
|
||||
echo "unrealircd mkcert Create or replace the self-signed TLS certificate"
|
||||
echo "unrealircd version Display the UnrealIRCd version"
|
||||
echo "unrealircd module Install and uninstall 3rd party modules"
|
||||
echo "unrealircd croncheck For use in crontab: this checks if the server"
|
||||
|
||||
Reference in New Issue
Block a user