## Generate Private Key openssl genrsa -out private-key.pem 8196 ## Generate Public Key using above Private Key openssl rsa -in private-key.pem -out public-key.pem -outform PEM -pubout ## Encrypt a file named file.txt to a file named file.txt.encrypted openssl rsautl -encrypt -inkey public-key.pem -pubin -in file.txt -out file.txt.encrypted ## Dectrypt an encrypted file named file.txt.encrypted to a file named file.txt.decrypted openssl rsautl -decrypt -inkey private-key.pem -in file.txt.encrypted -out file.txt.decrypted |
Tag: security
Disable Internet Explorer Enhance Security (IE ESC) in Windows Server 2008
Although I wouldn’t recommend following the instructions below on a production server, it is still a pain in the backside if you’re trying to get a job done and you are met with the following screen:
Luckily, the fix is simple. Here’s how you do it:
Continue reading