text

tune2fs

# tune2fs -m 0 /dev/sda2 
tune2fs 1.42.5 (29-Jul-2012)
Setting reserved blocks percentage to 0% (0 blocks)

link

WoSign

free multidomain certificates, up to three years

https://buy.wosign.com/free/

text

multi domain ssl csr

# cd /etc/ssl

# nano openssl.cnf

Look for  [ req ] section. Find add uncomment following line:

req_extensions = v3_req

In [ v3_req ] section, add following line:

subjectAltName = @alt_names

Finally add a new section called [ alt_names ] towards end of file listing all domain variation you are planning to use.

[ alt_names ]
DNS.1 = www.example.com
DNS.2 = example.com

# openssl req -nodes -sha256 -newkey rsa:2048 -keyout private/example.com.key -out example.com.csr -config openssl.cnf

text

find replace

find -type f -exec perl -i -p -e 's/pattern/target/g;' {} \;