To check if a password is correct for your key file,
use the KEYCHECK command.
Pass the filenames of your private key file and the associated certificate file together with the password.
The general syntax is FirmaSAT KEYCHECK -k <keyfile> -p <password> <certorxmlfile>
.
> FirmaSAT KEYCHECK -k CSD01_AAA010101AAA.key -p 12345678a CSD01_AAA010101AAA.cer OK
> FirmaSAT KEYCHECK -k CSD01_AAA010101AAA.key -p WRONG CSD01_AAA010101AAA.cer Error code -15: Decryption error/De error de descifrado (DECRYPT_ERROR): Cannot read private key/No se puede leer la clave privada
> FirmaSAT KEYCHECK -k CSD01_AAA010101AAA.key -p 12345678a CSD02_AAA010101AAA.cer Error code -21: Match not found/No se pudo encontrar datos coincidente (NO_MATCH_ERROR): Private key does not match key in certificate/La clave privada no coincide con la clave del certificado
To contact us or comment on this page, please send us a message.
This page last updated 15 August 2025