Linux Security: Working with OpenSSL and httpd

Install 'mod_ssl' on the host 'webserver' sudo yum install mod_ssl Generate and sign the private key for 'shop.example.com' using 'openssl' openssl genrsa -aes128 -out /etc/pki/tls/private/httpdkey.pem # You will get a prompt for a password openssl req -new -x509 -key /etc/pki/tls/private/httpdkey.pem -out /etc/pki/tls/certs/httpdcert.pem -days 365 # You will get a prompt for a password Update the... Continue Reading →

Linux Security: Disk Encryption with eCryptfs

Install eCryptfs on the Provided System sudo apt-get install ecryptfs-utils Configure '/opt/protected' as an Encrypted Mount sudo mount -t ecryptfs /opt/protected /opt/protected # Use "supersecret1" as passphrase # Accept defaults fot all prompts Copy the Contents of '/etc/profile.d' sudo cp /etc/profile.d/* /opt/protected/ Re-encrypt '/opt/profile.d/* /opt/protected/ umount /opt/protected Full Video https://youtu.be/mdKwudK0Dfg

A WordPress.com Website.

Up ↑