Generate CSR on Cisco ACE

To generate the CSR required for a SSL certificate, follow the instructions below: Logon to Primary ACE conf t no crypto  csr-params www.domain.com crypto csr-params www.domain.com country GB state London organization-name Organisation Ltd common-name www.domain.com serial-number 1001 email user@domain.com crypto generate key 2048 2012-www.domain.com.key crypto generate csr www.domain.com 2012-www.domain.com.key Ensure…

Continue reading

Encrypt and decrypt a file with OpenSSL

I was recently looking for a way of encrypting files with a salted encryption algruthum, and found this can be done using OpenSSL. It’s really easy and much more secure that using a zip product. You do this by using the following syntax: openssl des3 -salt -in /path/FileToBeEncrypted -out /path/EncryptedFileName…

Continue reading

Setup SSL on Apache

You first need to enable to SSL module, this can be done as follows: sudo a2enmod ssl Then restart apache sudo service apache2 restart Create the server encryption keys: cd /etc/apache2 sudo openssl genrsa -out server.key 2048 Use this set of keys to create a certificate request: sudo openssl req…

Continue reading