diff --git a/engine/PerlLib/iMSCP/OpenSSL.pm b/engine/PerlLib/iMSCP/OpenSSL.pm index 75a2336d1..163af17ba 100644 --- a/engine/PerlLib/iMSCP/OpenSSL.pm +++ b/engine/PerlLib/iMSCP/OpenSSL.pm @@ -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'} ];