Skip to content

Remove issuer from authorityKeyIdentifier in X.509 extensions #417

@IPv4v6

Description

@IPv4v6

Current:

$ more easyrsa3/x509-types/server
# X509 extensions for a server

basicConstraints = CA:FALSE
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid,issuer:always
extendedKeyUsage = serverAuth
keyUsage = digitalSignature,keyEncipherment

The authorityKeyIdentifier should only contain the keyid. The keyid is sufficient and it is common practice in public certificates.

See the Mozilla certificate policy:
https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/policy/#52-forbidden-and-required-practices

CAs MUST NOT issue certificates that have ...
incorrect extensions (e.g., SSL certificates that exclude SSL usage, or authority key IDs that include both the key ID and the issuer’s issuer name and serial number)

In case you want to renew your CA certificate, it has some advantages:
https://v13.gr/2013/04/11/x509v3-authority-key-identifier-authoritykeyidentifier/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions