906948
diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c
906948
index b53f3f8..979489c 100644
906948
--- a/modules/ssl/ssl_engine_config.c
906948
+++ b/modules/ssl/ssl_engine_config.c
906948
@@ -812,8 +812,14 @@ const char *ssl_cmd_SSLCipherSuite(cmd_parms *cmd,
906948
 static const char *ssl_cmd_check_file(cmd_parms *parms,
906948
                                       const char **file)
906948
 {
906948
-    const char *filepath = ap_server_root_relative(parms->pool, *file);
906948
+    const char *filepath;
906948
 
906948
+    /* If only dumping the config, don't verify the paths */
906948
+    if (ap_state_query(AP_SQ_RUN_MODE) == AP_SQ_RM_CONFIG_DUMP) {
906948
+        return NULL;
906948
+    }
906948
+
906948
+    filepath = ap_server_root_relative(parms->pool, *file);
906948
     if (!filepath) {
906948
         return apr_pstrcat(parms->pool, parms->cmd->name,
906948
                            ": Invalid file path ", *file, NULL);