anchor/doc/source/fixups.rst
Jinay Vora 1864f6b2a3 Fix typo in fixups.rst
Change-Id: I062d2e81b8cbc1b6fdf1bf98fac51015122b781a
2016-06-27 20:11:25 -07:00

20 lines
611 B
ReStructuredText

Fixups
======
Fixups can be used to modify submitted CSRs before signing. That means for
example adding extra name elements, or extensions. Each fixup is loaded from
the "anchor.fixups" namespace using stevedore and gets access to the parsed CSR
and the configuration.
Unlike validators, each fixup has to return either a new CSR structure or the
modified original.
Included fixups
---------------
``enforce_alternative_names_present``
No parameters.
If the value from CN does not exist in subject alternative names, it will
be copied into either then DNS or IP field, depending on the format.