mirror of
https://github.com/PretendoNetwork/SSSL.git
synced 2026-03-22 01:44:42 -05:00
patch: set CN to * because the Wii U accepts it
This commit is contained in:
parent
95a016a4e2
commit
bb25bc6a08
7
patch.js
7
patch.js
|
|
@ -20,6 +20,13 @@ newCaCertificate.validity.notBefore = nintendoCAG3.validity.notBefore;
|
|||
newCaCertificate.validity.notAfter = nintendoCAG3.validity.notAfter;
|
||||
newCaCertificate.setIssuer(nintendoCAG3.subject.attributes);
|
||||
newCaCertificate.setSubject(nintendoCAG3.subject.attributes);
|
||||
newCaCertificate.setSubject([
|
||||
...nintendoCAG3.subject.attributes.filter(({ name }) => name !== 'commonName'), // * Remove old one
|
||||
{
|
||||
name: 'commonName',
|
||||
value: '*' // * This wouldn't work in normal CAs, but the Wii U accepts it!
|
||||
}
|
||||
]);
|
||||
newCaCertificate.setExtensions([
|
||||
...nintendoCAG3.extensions.filter(({ name }) => name !== 'authorityKeyIdentifier'), // * Remove old one
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user