Ejemplo n.º 1
0
def test_batch_web_domains(request, selenium, batch_base_urls, batch_domain):
    assess_website(selenium,
                   GoodDomain('batch_domain', batch_domain),
                   base_urls=batch_base_urls,
                   request=request)
Ejemplo n.º 2
0
def test_batch_mail_domains(request, selenium, batch_base_urls, batch_domain):
    assess_mail_servers(selenium,
                        GoodDomain('batch_domain', batch_domain),
                        base_urls=batch_base_urls,
                        request=request)
Ejemplo n.º 3
0
        'NCSC20-Table1:TLS1112',
        'tls1112.test.nlnetlabs.tk',
        expected_warnings={
            TESTS.TLS_VERSION: [
                ['TLS 1.1', PHASE_OUT_TEXT],  # IPv6
                ['TLS 1.1', PHASE_OUT_TEXT],  # IPv4
            ]
        }),
    PreTLS13DomainConfig('NCSC20'
                         '-Table1:TLS12'
                         '-Table10:FFDHE4096', 'tls12only.test.nlnetlabs.tk'),
    GoodDomain(
        'NCSC20'
        '-Table1:TLS1213'
        '-Table2:RSAEXPPSK'
        '-Table3:MD5'
        '-Table11:No'
        '-Table12:Off'
        '-Table13:Off'
        '-Table14:NA'
        '-Table15:On', 'tls1213.test.nlnetlabs.tk'),
    GoodDomain('NCSC20-Table1:TLS1213SNI', 'tls1213sni.test.nlnetlabs.tk'),

    # This domain deliberately has no matching virtual host configuration on
    # the webserver that its DNS A and AAAA records resolve to.
    DomainConfig('NCSC20-Table1:TLS1213SNIWRONGCERT',
                 'tls1213wrongcertname.test.nlnetlabs.tk',
                 expected_failures={
                     TESTS.HTTPS_CERT_DOMAIN,
                 },
                 expected_not_tested={TESTS.DANE_VALID},
                 expected_info={TESTS.DANE_EXISTS}),