Is there any way to skip SSL certificate verification for Passbolt’s SMTP configuration UI

There is a solution posted in this - https://community.passbolt.com/t/passbolt-smtp-tls-problems/3813/9

// Email configuration.
    'EmailTransport' => [
        'default' => [
            'host' => 'relayserver',
            'port' => 25,
            'username' => null,
            'password' => null,
            // Is this a secure connection? true if yes, null if no.
            'tls' => true,
            'context' => [
                'ssl' => [
                    'allow_self_signed' => true
                ]
             ]

But when I am trying to do this health check is failing.