VMware Cloud Community
Nazar_Bijle
Contributor
Contributor

vSphere error on searching VMs - "Login to the query service failed. An SSL error occured. (The request was aborted: Could not create SSL/TLS secure channel"

Hi guys,

I get this error when I run a search inventory to find VMs.

"Login to the query service failed. An SSL error occured. (The request was aborted: Could not create SSL/TLS secure channel"

pastedImage_3.png

Can you help?

Thank you

0 Kudos
5 Replies
hussainbte
Expert
Expert

please share the below details.

version of vcenter

client used? web client or c#

type of authentication. Are you using "use windows session credentials" SSP authentication?

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
Nazar_Bijle
Contributor
Contributor

vSphere Version 5.0

Using Windows session credentials

0 Kudos
daphnissov
Immortal
Immortal

This is a known issue when using Windows session credentials and the C# client. To be able to perform queries, you cannot use session credential pass-through.

0 Kudos
hussainbte
Expert
Expert

kindly confirm by providing the credentials manually instead of using the session credentials.

If you found my answers useful please consider marking them as Correct OR Helpful Regards, Hussain https://virtualcubes.wordpress.com/
0 Kudos
AlissonViali
Contributor
Contributor

Nazar_Bijle, include the following registry key below to correct the vcenter client search problem:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman]

"ClientMinKeyBitLength"=dword:00000200

0 Kudos