diff --git a/ChangeLog.txt b/ChangeLog.txt
index a4ca9430..db3de63c 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -125,6 +125,9 @@ Build:
build and install static versions of the client libraries.
- Don't run TLS-PSK tests if TLS-PSK disabled at compile time. Closes #636.
+Documentation:
+- Replace mentions of deprecated 'c_rehash' with 'openssl rehash'.
+
1.4.14 - 20170710
=================
diff --git a/man/mosquitto.conf.5.xml b/man/mosquitto.conf.5.xml
index 2837569c..9347cfc5 100644
--- a/man/mosquitto.conf.5.xml
+++ b/man/mosquitto.conf.5.xml
@@ -854,7 +854,7 @@
that are trusted. For to
work correctly, the certificates files must have
".pem" as the file ending and you must run
- "c_rehash <path to capath>" each time you
+ "openssl rehash <path to capath>" each time you
add/remove a certificate.
@@ -1414,7 +1414,7 @@ topic clients/total in 0 test/mosquitto/org $SYS/broker/
certificates that have signed the certificate for
the remote broker. For bridge_capath to work
correctly, the certificate files must have ".crt"
- as the file ending and you must run "c_rehash
+ as the file ending and you must run "openssl rehash
<path to bridge_capath>" each time you
add/remove a certificate.
diff --git a/man/mosquitto_pub.1.xml b/man/mosquitto_pub.1.xml
index b42771d1..ef5cc05b 100644
--- a/man/mosquitto_pub.1.xml
+++ b/man/mosquitto_pub.1.xml
@@ -144,7 +144,7 @@
communication.
For to work correctly, the
certificate files must have ".crt" as the file ending
- and you must run "c_rehash <path to capath>" each
+ and you must run "openssl rehash <path to capath>" each
time you add/remove a certificate.See also
diff --git a/man/mosquitto_sub.1.xml b/man/mosquitto_sub.1.xml
index 9ea6c651..81c559bb 100644
--- a/man/mosquitto_sub.1.xml
+++ b/man/mosquitto_sub.1.xml
@@ -152,7 +152,7 @@
communication.
For to work correctly, the
certificate files must have ".crt" as the file ending
- and you must run "c_rehash <path to capath>" each
+ and you must run "openssl rehash <path to capath>" each
time you add/remove a certificate.See also
diff --git a/mosquitto.conf b/mosquitto.conf
index 14c718b0..00714057 100644
--- a/mosquitto.conf
+++ b/mosquitto.conf
@@ -210,7 +210,7 @@
# capath defines a directory that will be searched for files
# containing the CA certificates. For capath to work correctly, the
# certificate files must have ".crt" as the file ending and you must run
-# "c_rehash " each time you add/remove a certificate.
+# "openssl rehash " each time you add/remove a certificate.
#cafile
#capath
@@ -366,7 +366,7 @@
# capath defines a directory that will be searched for files
# containing the CA certificates. For capath to work correctly, the
# certificate files must have ".crt" as the file ending and you must run
-# "c_rehash " each time you add/remove a certificate.
+# "openssl rehash " each time you add/remove a certificate.
#cafile
#capath
@@ -809,8 +809,8 @@
# certificate.
# bridge_capath defines a directory that will be searched for files containing
# the CA certificates. For bridge_capath to work correctly, the certificate
-# files must have ".crt" as the file ending and you must run "c_rehash " each time you add/remove a certificate.
+# files must have ".crt" as the file ending and you must run "openssl rehash
+# " each time you add/remove a certificate.
#bridge_cafile
#bridge_capath
diff --git a/test/ssl/gen.sh b/test/ssl/gen.sh
index 0d6ec458..7a49631c 100755
--- a/test/ssl/gen.sh
+++ b/test/ssl/gen.sh
@@ -72,4 +72,4 @@ cat test-signing-ca.crt test-root-ca.crt > all-ca.crt
#mkdir certs
#cp test-signing-ca.crt certs/test-signing-ca.pem
#cp test-root-ca.crt certs/test-root.ca.pem
-c_rehash certs
+openssl rehash certs