@@ -2024,7 +2024,7 @@ def test_invalid_hostname_in_kms_certificate(self):
2024
2024
# Some examples:
2025
2025
# certificate verify failed: IP address mismatch, certificate is not valid for '127.0.0.1'. (_ssl.c:1129)"
2026
2026
# hostname '127.0.0.1' doesn't match 'wronghost.com'
2027
- # 127.0.0.1:8001 : ('Certificate does not contain any `subjectAltName`s.',)
2027
+ # 127.0.0.1:9001 : ('Certificate does not contain any `subjectAltName`s.',)
2028
2028
with self .assertRaisesRegex (
2029
2029
EncryptionError , "IP address mismatch|wronghost|IPAddressMismatch|Certificate"
2030
2030
):
@@ -2093,12 +2093,12 @@ def setUp(self):
2093
2093
# 4, Test named KMS providers.
2094
2094
providers = {
2095
2095
"aws:no_client_cert" : AWS_CREDS ,
2096
- "azure:no_client_cert" : {"identityPlatformEndpoint" : "127.0.0.1:8002 " , ** AZURE_CREDS },
2097
- "gcp:no_client_cert" : {"endpoint" : "127.0.0.1:8002 " , ** GCP_CREDS },
2096
+ "azure:no_client_cert" : {"identityPlatformEndpoint" : "127.0.0.1:9002 " , ** AZURE_CREDS },
2097
+ "gcp:no_client_cert" : {"endpoint" : "127.0.0.1:9002 " , ** GCP_CREDS },
2098
2098
"kmip:no_client_cert" : KMIP_CREDS ,
2099
2099
"aws:with_tls" : AWS_CREDS ,
2100
- "azure:with_tls" : {"identityPlatformEndpoint" : "127.0.0.1:8002 " , ** AZURE_CREDS },
2101
- "gcp:with_tls" : {"endpoint" : "127.0.0.1:8002 " , ** GCP_CREDS },
2100
+ "azure:with_tls" : {"identityPlatformEndpoint" : "127.0.0.1:9002 " , ** AZURE_CREDS },
2101
+ "gcp:with_tls" : {"endpoint" : "127.0.0.1:9002 " , ** GCP_CREDS },
2102
2102
"kmip:with_tls" : KMIP_CREDS ,
2103
2103
}
2104
2104
no_cert = {"tlsCAFile" : CA_PEM }
@@ -2137,7 +2137,7 @@ def test_01_aws(self):
2137
2137
# Some examples:
2138
2138
# certificate verify failed: IP address mismatch, certificate is not valid for '127.0.0.1'. (_ssl.c:1129)"
2139
2139
# hostname '127.0.0.1' doesn't match 'wronghost.com'
2140
- # 127.0.0.1:8001 : ('Certificate does not contain any `subjectAltName`s.',)
2140
+ # 127.0.0.1:9001 : ('Certificate does not contain any `subjectAltName`s.',)
2141
2141
key ["endpoint" ] = "127.0.0.1:9001"
2142
2142
with self .assertRaisesRegex (
2143
2143
EncryptionError , "IP address mismatch|wronghost|IPAddressMismatch|Certificate"
@@ -2208,7 +2208,7 @@ def test_06_named_kms_providers_apply_tls_options_aws(self):
2208
2208
key = {
2209
2209
"region" : "us-east-1" ,
2210
2210
"key" : "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0" ,
2211
- "endpoint" : "127.0.0.1:8002 " ,
2211
+ "endpoint" : "127.0.0.1:9002 " ,
2212
2212
}
2213
2213
# Missing client cert error.
2214
2214
with self .assertRaisesRegex (EncryptionError , self .cert_error ):
0 commit comments