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