Skip to content

Why does load_csr fatal out when the domain list doesn't match? #97

Description

@guest20

return $self->_status(DATA_MISMATCH, "The list of provided domains does not match the one on the CSR.") unless (join(',', sort @loaded_domains) eq join(',', sort @list));

Why is it fatal to load a csr that doesn't match the list passed on the command line? Surely it makes more sense to generate a new CSR rather than just bailing out?

Would a PR for this be welcomed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions