Difference between revisions of "ClCertA"

From 3dbrew
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
* "ctr-common-1-key.bin", this is the default SSL client private key used by the SSL module in DER format.
 
* "ctr-common-1-key.bin", this is the default SSL client private key used by the SSL module in DER format.
  
For retail this is the "CTR Common Prod 1" cert.
+
For retail this is the "CTR Common Prod 1" cert. The final sizes passed to a function used internally by SSL-module, are 0x4C7 for the cert DER, and 0x4AA for the key DER.
  
Each file is encrypted in CBC mode. The first 16 bytes of each file are the IV for decrypting the rest of the file.
+
Each file is encrypted in CBC mode using [[PSPXI:EncryptDecryptAes#Key_Types| keyslot 0xD]]. The first 16 bytes of each file are the IV for decrypting the rest of the file.
  
 
The following servers require usage of ClCertA to connect:
 
The following servers require usage of ClCertA to connect:

Latest revision as of 02:56, 29 June 2017

This CFA (title id: 0004001b00010002) contains the following encrypted files in the RomFS:

  • "ctr-common-1-cert.bin", this is the default SSL client cert used by the SSL module in DER format.
  • "ctr-common-1-key.bin", this is the default SSL client private key used by the SSL module in DER format.

For retail this is the "CTR Common Prod 1" cert. The final sizes passed to a function used internally by SSL-module, are 0x4C7 for the cert DER, and 0x4AA for the key DER.

Each file is encrypted in CBC mode using keyslot 0xD. The first 16 bytes of each file are the IV for decrypting the rest of the file.

The following servers require usage of ClCertA to connect: