sábado, 12 de janeiro de 2019

HOW TO DECRYPT FILE BY OPENSSL USING PRIVATE KEY FOR UBUNTU

first install openssl, after that execute this command:

string command:

openssl rsautl -decrypt -inkey ChavePrivada.key -in Criptograma -out Criptograma.decrpt

description string commands:

openssl rsautl <<< for start the decrypt file
-decrypt            << for decrypt file request
-inkey               << for set private key
-in                    << for set cripto file
-out                 << for registry output file decrypt




for check the valid cert before just execute:

openssl  rsa -in ChavePrivada.key -check

Nenhum comentário:

Postar um comentário