Skip to content

Commit 272c5bc

Browse files
committed
key file isnt always necessary, but cert is.
1 parent 1759621 commit 272c5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msfdb_ws

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ end
7070

7171
begin
7272
opts = parse_args(ARGV)
73-
raise SwitchError.new("certificate file and key file must be specified when using -s") if opts[:ssl] && (opts[:ssl_key].nil? || opts[:ssl_cert].nil?)
73+
raise SwitchError.new("certificate file must be specified when using -s") if opts[:ssl] && (opts[:ssl_cert].nil?)
7474
HttpDBManagerService.new.start(:Port => opts[:port],
7575
:Host => opts[:interface],
7676
:ssl => opts[:ssl],

0 commit comments

Comments
 (0)