File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
ncm-spma/src/main/perl/spma Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -318,6 +318,12 @@ sub Configure
318318 $attr = " excludepkgs" if $attr eq ' exclude' ; # Sigh...
319319 print $fh " $attr =$val \n " ;
320320 }
321+ # configure ssl settings if defined in protocols
322+ foreach my $proto_attr (qw( verify cacert clientkey clientcert) ) {
323+ next unless defined $prots -> {$proto_attr };
324+ my $val = $prots -> {$proto_attr };
325+ print $fh " ssl$proto_attr =$val \n " ;
326+ }
321327 $fh -> close ();
322328 }
323329 # set module stream configs
Original file line number Diff line number Diff line change @@ -242,6 +242,12 @@ sub Configure
242242 $attr = " excludepkgs" if $attr eq ' exclude' ; # Sigh...
243243 print $fh " $attr =$val \n " ;
244244 }
245+ # configure ssl settings if defined in protocols
246+ foreach my $proto_attr (qw( verify cacert clientkey clientcert) ) {
247+ next unless defined $prots -> {$proto_attr };
248+ my $val = $prots -> {$proto_attr };
249+ print $fh " ssl$proto_attr =$val \n " ;
250+ }
245251 $fh -> close ();
246252 }
247253
You can’t perform that action at this time.
0 commit comments