class DoTOKOpenSSLTest(DoTWithLocalResponderTests):
"""
- This tests DoT to responder with openssl validation using a proper CA store for the locally generated cert"
+ This tests DoT to responder with openssl validation using a proper CA store for the locally generated cert
"""
_confdir = 'DoTOKOpenSSL'
outgoing:
dot_to_auth_names: [powerdns.com]
tls_configurations:
- - name: dotwithverifygnu
+ - name: dotwithverifyopenssl
ca_store: 'ca.pem'
subject_name: tls.tests.powerdns.com
subnets: ['127.0.0.1']
currentCount = 0
if 'TLS Responder' in self._responsesCounter:
- currentCount = self._responsesCounter['TLS Responder']
+ currentCount = self._responsesCounter['TLS Responder']
(receivedQuery, receivedResponse) = self.sendUDPQuery(query, expectedResponse)
receivedQuery.id = query.id
self.assertEqual(query, receivedQuery)
class DoTOKGnuTLSTest(DoTWithLocalResponderTests):
"""
- This tests DoT to responder with gnutls validation using a proper CA store for the locally generated cert"
+ This tests DoT to responder with gnutls validation using a proper CA store for the locally generated cert
"""
_confdir = 'DoTOKGnuTLS'
class DoTNOKOpenSSLTest(DoTWithLocalResponderTests):
"""
- This tests DoT to responder with openssl validation using a missing CA store for the locally generated cert"
+ This tests DoT to responder with openssl validation using a missing CA store for the locally generated cert
"""
_confdir = 'DoTNOKOpenSSL'
outgoing:
dot_to_auth_names: [powerdns.com]
tls_configurations:
- - name: dotwithverifygnu
+ - name: dotwithverifyopenssl
subject_name: tls.tests.powerdns.com
subnets: ['127.0.0.1']
validate_certificate: true
currentCount = 0
if 'TLS Responder' in self._responsesCounter:
- currentCount = self._responsesCounter['TLS Responder']
+ currentCount = self._responsesCounter['TLS Responder']
(receivedQuery, receivedResponse) = self.sendUDPQuery(query, expectedResponse)
self.assertRcodeEqual(receivedResponse, dns.rcode.SERVFAIL)
class DoTNOKGnuTLSTest(DoTWithLocalResponderTests):
"""
- This tests DoT to responder with gnutls validation using a missing CA store for the locally generated cert"
+ This tests DoT to responder with gnutls validation using a missing CA store for the locally generated cert
"""
_confdir = 'DoTNOKGnuTLS'