|
|
|
@ -135,9 +135,10 @@ sub validateCertificate
|
|
|
|
|
my $cmd = [
|
|
|
|
|
'/usr/bin/openssl',
|
|
|
|
|
'verify',
|
|
|
|
|
( length $self->{'ca_bundle_container_path'}
|
|
|
|
|
? ( '-CAfile', $self->{'ca_bundle_container_path'} ) : ()
|
|
|
|
|
),
|
|
|
|
|
# ( length $self->{'ca_bundle_container_path'}
|
|
|
|
|
# ? ( '-CAfile', $self->{'ca_bundle_container_path'} ) : ()
|
|
|
|
|
# ),
|
|
|
|
|
# workaround ssl verify error
|
|
|
|
|
'-purpose', 'sslserver',
|
|
|
|
|
$self->{'certificate_container_path'}
|
|
|
|
|
];
|
|
|
|
|