Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

Conversation

Santhanraj
Copy link
Contributor

@Santhanraj Santhanraj commented May 29, 2018

Since EV ver 1.6.4 and ballot 191, localityName is optional if stateOrProvinceName is present.

Closes: #65

Since EV ver 1.6.4 and ballot 191, localityName is optional if stateOrProvinceName is present. 

Closes amazon-archives#65
unless subjattrs.include? 'L'
messages << 'E: EV certificates must include localityName in subject'
if !(subjattrs.include? 'L') && !(subjattrs.include? 'ST')
messages << 'E: EV certificates must include either localityName or stateOrProvinceName'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, I think that error message should retain the " in subject" suffix.

@robstradling
Copy link
Contributor

x509lint merged an equivalent PR yesterday (kroeckx/x509lint#32), and ZLint already had the now-correct behaviour.
Any chance of getting this merged?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E: EV certificates must include localityName in subject - only true if stateOrProvinceName is absent

2 participants