-
Hi, i have one-way TLS enabled ie nosqlbench needs to verify the certificate presented by mongodb server. does this work out of box or do i need to make code changes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think this will require code changes. To streamline using TLS, we have a single "SSL Socket Factory" which is used by all drivers which need one of these from the runtime. This supports both common types of trust configurations. It is at io.nosqlbench.api.engine.util.SSLKsFactory in the nb-api module. If you want to support command-line configurable certificate verification, this is the place to add it. |
Beta Was this translation helpful? Give feedback.
I think this will require code changes. To streamline using TLS, we have a single "SSL Socket Factory" which is used by all drivers which need one of these from the runtime. This supports both common types of trust configurations. It is at io.nosqlbench.api.engine.util.SSLKsFactory in the nb-api module. If you want to support command-line configurable certificate verification, this is the place to add it.