Skip to content

crypto/tls: generate_cert.go should document that some ECDSA curves don't have browser support #19901

@kevinburke

Description

@kevinburke

I ran generate_cert.go and figured the highest numbered ECDSA curve (P521) was the best one. It turns out that curve isn't supported in the latest versions of Chrome, Chromium and Firefox, which (as best as I can tell) only support P256 and P384.

If you try to connect using those certificates, you get a confusing remote error: tls: illegal parameter error message.

See also #19900.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions