Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Man-in-the-middle test on switch #103

Open
WhereIsOops opened this issue Apr 16, 2023 · 2 comments
Open

Man-in-the-middle test on switch #103

WhereIsOops opened this issue Apr 16, 2023 · 2 comments
Labels

Comments

@WhereIsOops
Copy link

I extracted a switch client certificate and private key of an old version model, and wanted to use it to perform a man-in-the-middle test on my new version switch, but it failed.The old version of the certificate could not pass the certificate verification of the new version of the machine.
Do you know if the built-in root certificate of the switch is issued by a different CA than the client certificate of the switch?

@kinnay
Copy link
Owner

kinnay commented Apr 16, 2023

I'm not sure if I understand you correctly. Are you trying to use the client certificate as a CA? That is definitely not going to work.

The Switch doesn't have a single built-in root certificate. Most certificates of Nintendo are issued by Nintendo CA - G3 or Nintendo Class 2 CA - G3, but Nintendo also has servers whose certificates are issued by Amazon or Google. The Switch accepts any of them.

It does not accept certificates that are issued by the client certificate though because:

  1. The client certificate does not have the CA flag set so it cannot act as a CA.
  2. The client certificate is issued by NintendoNXCA2Prod1, which is not one of the root certificates that are trusted by the Switch.

There is no way to do a man-in-the-middle without SSL patches, even if you own an old Switch.

@WhereIsOops
Copy link
Author

WhereIsOops commented May 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants