# signing request that you can submit to a CA, or `make yourhost.cert`
# to generate a self signed certificate.
-.PRECIOUS: %.cnf %.key
-
# To request a cert
%.csr: %.cnf %.key
openssl req -new -key $(lastword $^) -out $@ -utf8 -config $(firstword $^)
%.key:
openssl genrsa $(keysize) > $@
- @chmod 400 $@
+ @chmod 400 -c $@
[ distinguished_name ]
commonName = example.com
-countryName = GB
+countryName = UK
localityName = The Internet
organizationName = Your Organisation
organizationalUnitName = XMPP Department