I have multiple VMs within the azure cloud. All of them, except one, are unable to make requests to certain services using SSL with the message
Invoke-Webrequest : The request was aborted: Could not create SSL/TLS secure channel.
I already tried all suggested solutions from setting System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
to messing with registry settings.
Now I noticed that the cipher suites on the servers are very different.
Not working:
KeyType : 0
Certificate :
MaximumExchangeLength : 0
MinimumExchangeLength : 0
Exchange :
HashLength : 0
Hash :
CipherBlockLength : 0
CipherLength : 0
BaseCipherSuite : 0
CipherSuite : 0
Cipher :
Name : TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Protocols : {}
Working
KeyType : 0
Certificate : RSA
MaximumExchangeLength : 65536
MinimumExchangeLength : 0
Exchange : ECDH
HashLength : 0
Hash :
CipherBlockLength : 16
CipherLength : 128
BaseCipherSuite : 49199
CipherSuite : 49199
Cipher : AES
Name : TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Protocols : {771, 65277}
Why is this happening and how can I fix it?