We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6807824 commit dc32ae8Copy full SHA for dc32ae8
1 file changed
kmip/services/kmip_client.py
@@ -292,6 +292,7 @@ def _create_socket(self, sock):
292
context.load_verify_locations(cafile=self.ca_certs)
293
self.socket = context.wrap_socket(
294
sock,
295
+ server_hostname=self.host,
296
do_handshake_on_connect=self.do_handshake_on_connect,
297
suppress_ragged_eofs=self.suppress_ragged_eofs)
298
self.socket.settimeout(self.timeout)
0 commit comments