Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
It seems that ToRDNSequence creates a DN with a non standard ordering.
This produces a cert with the subject line:
Note how O and OU come before state and locality, and state and locality are in the wrong order.
Typically the subject lines use this ordering:
Some examples I've pulled from the web:
Some EV Certs, which are probably outside the scope of this bug but I thought I would include them.