File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ get '/logout-soap' => sub {
128128 )-> as_xml;
129129
130130 my $soap = Net::SAML2::Binding::SOAP-> new(
131- key => ' sign-nopw-cert.pem ' ,
132- cert => ' sign-nopw- cert.pem ' ,
131+ key => config -> { key } ,
132+ cert => config -> { cert } ,
133133 url => $slo_url ,
134134 idp_cert => $idp_cert ,
135135 cacert => config-> {cacert },
@@ -179,11 +179,13 @@ get '/consumer-artifact' => sub {
179179 $ua -> ssl_opts( (verify_hostname => config-> {ssl_verify_hostname }));
180180
181181 my $soap = Net::SAML2::Binding::SOAP-> new(
182+ ua => $ua ,
182183 url => $art_url ,
183- key => ' sign-private.pem ' ,
184- cert => ' sign-certonly.pem ' ,
185- idp_cert => $idp_cert
184+ key => config -> { key } ,
185+ cert => config -> { cert } ,
186+ idp_cert => $idp_cert ,
186187 );
188+
187189 my $response = $soap -> request($request );
188190
189191 if ($response ) {
You can’t perform that action at this time.
0 commit comments