Skip to content

Connection fails via https when certificate contains IPv6 address in SAN #1269

@jharbott

Description

@jharbott

The URL is https://[2001:db8::17]/, the server is running with a certificate that includes both DNS:2001:db8::17 and IP:2001:db8::17 as alt_names. Accessing that URL with e.g. curl works just fine, when using urllib3 I am seeing this error instead:

A problem was encountered with the certificate that prevented urllib3 from finding the SubjectAlternativeName field. This can affect certificate validation. The error was Codepoint U+003A at position 5 of u'2001:db8::17' not allowed

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy