From b3b7d5205bd241ee519b86cdcb5b0c4f4ca7eeeb Mon Sep 17 00:00:00 2001 From: Erin Bleiweiss Date: Wed, 23 Jan 2019 16:08:15 -0600 Subject: [PATCH] Don't regenerate SSL unless the user said to so do --- msfdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msfdb b/msfdb index cf286466f7..8a1a7f8237 100755 --- a/msfdb +++ b/msfdb @@ -475,7 +475,7 @@ def init_web_service @msf_ws_pass = @options[:ws_pass] end - if should_generate_web_service_ssl + if should_generate_web_service_ssl && @options[:delete_existing_data] generate_web_service_ssl(key: @options[:ssl_key], cert: @options[:ssl_cert]) end