Configuring only x509 authentication

Hi @dheepakraj_govindarajan

Please format posts correctly for code and log extracts:

As to:

The parameter authenticationMechanisms will have to be set to MONGODB-X509 , the default is SCRAM-SHA-1, SCRAM-SHA-256 and MONGODB-X509
https://mongodb.prakticum-team.ru/docs/manual/reference/parameters/#mongodb-parameter-param.authenticationMechanisms

setParameter:
   authenticationMechanisms: MONGODB-X509