You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(note the missing sequence, and the fact that both values are in one string)
The core issue is that X509ExtensionFactory.parseSubjectAltName() returns a GeneralName instead of a GeneralNames (sequence of GeneralName), as well as fails to parse multiple names properly.
Due to the missing sequence, it's currently completely impossible to generate a (valid) certificate with a subject-alt-name extension.
The text was updated successfully, but these errors were encountered:
Environment
JRuby 9.1.9
Expected Behavior
The DER of this extension should look like (and does so under MRI)
Actual Behaviour
But the actual DER of the created extension is
(note the missing sequence, and the fact that both values are in one string)
The core issue is that
X509ExtensionFactory.parseSubjectAltName()
returns a GeneralName instead of a GeneralNames (sequence of GeneralName), as well as fails to parse multiple names properly.Due to the missing sequence, it's currently completely impossible to generate a (valid) certificate with a subject-alt-name extension.
The text was updated successfully, but these errors were encountered: