Updates Message of the Day

Ever login to a Debian/Ubuntu system that just says the servername or something similar, but not the number of updates (if any) it needs? Normally when you login …you might see the message like this: Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64) * Documentation: https://help.ubuntu.com/ 115 packages can be updated. 115 updates are security … Read more

Know about SAN Certificate and How to Create With OpenSSL

Original here –  Reduce SSL cost and maintenance by using single certificate for multiple websites using SAN certificate SAN stands for “Subject Alternative Names” and this helps you to have a single certificate for multiple CN (Common Name). You might be thinking this is wildcard SSL but let me tell you – it’s slightly different. In … Read more

Self-Signed Wildcard certificate with SAN using openssl / SSL

Copy the default template of openssl.cnf to a writable location. cp /System/Library/OpenSSL/openssl.cnf src Uncomment the req_extensions = v3_req req_extensions = v3_req # The extensions to add to a certificate request Add subjectAltName to v3_req section [ v3_req ] # Extensions to add to a certificate request basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment subjectAltName = @alt_names Add the … Read more

Export MySQL Databases using Command line

MySQL provides us the utility called mysqldump to export our databases. It is very easy to use utility. You can export a single database or multiple databases using this command or utility. So, Let’s see how to export a single database using mysqldump. To export a single database using mysqldump, execute the following command on … Read more

Ubuntu Network Config

I recently had to modify the NIC setup and add a virtual nic.  Thought I would save this.. as it was simple and thought i’d share.  This is using the default ens160 interface, and a sub-interface on the same nic. # This file describes the network interfaces available on your system # and how to … Read more