LDAP and xWIKI(Snap package)

good day! I ask for help with xwiki authorization via LDAPS.
The ldapsearch -Z command works well.
SSL is configured on the site.
On the nginx server, support for transparent authorization Auth_gssapi on is enabled and it works.

But I get an error all the time
2022-12-22 20:33:04,101 [qtp790067787-13 - http://tomcat/xwiki/rest/wikis/xwiki/iconThemes/icons?name=caret-up] DEBUG x.c.l.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB
2022-12-22 20:33:04,102 [qtp790067787-13 - http://tomcat/xwiki/rest/wikis/xwiki/iconThemes/icons?name=caret-up] DEBUG x.c.l.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user [UserV]
2022-12-22 20:33:04,102 [qtp790067787-13 - http://tomcat/xwiki/rest/wikis/xwiki/iconThemes/icons?name=caret-up] WARN nticationFailureLoggerListener - Authentication failure with login [UserV]
2022-12-22 20:33:04,102 [qtp790067787-13 - http://tomcat/xwiki/rest/wikis/xwiki/iconThemes/icons?name=caret-up] DEBUG x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: XWiki.UserV
2022-12-22 20:33:04,105 [qtp790067787-15 - http://tomcat/xwiki/bin/get/XWiki/XWikiPreferences?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&exclusions=document%3Axwiki%3ASandbox.WebHome&exclusions=document%3Axwiki%3AHelp.WebHome&exclusions=document%3Axwiki%3AMenu.WebHome&exclusions=document%3Axwiki%3AXWiki.WebHome&data=children&id=%23] DEBUG x.c.l.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind failed with LDAPException.

I ask for any help. I assume that you need to add a certificate. But how to do it when xwiki was installed as a snap package?

You should paste the complete error as the most important is the last “caused by” and not the first line which basically just say “there was an error”.