I don't really trust the guy and i'm trying to take my time to learn everything about it, but what do you guys think?
#!/bin/bash name=ourwebdomain.local openssl req \ -new \ -newkey rsa:2048 \ -sha256 \ -days 3650 \ -nodes \ -x509 \ -keyout $name.key \ -out $name.crt \ -config <(cat <<-EOF [req] distinguished_name = req_distinguished_name x509_extensions = v3_req prompt = no [req_distinguished_name] CN = $name [v3_req] keyUsage = keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names [alt_names] DNS.1 = $name DNS.2 = *.$name EOF sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ourwebsitdomain.local.crt
This was accompanied by two other files, so here
file ./* generate_ssl: ASCII text ourdomain.local.crt: PEM certificate ourdomain.local.key: ASCII text
I'm not that worried i'm more curious. oh then he added this file to our github repo a bit ago, he's just been acting very weird recently and i'd like to Understand what he's doing.
mynaems-MacBook-Pro% file dump.rdb dump.rdb: data myname-MacBook-Pro% ls -lh | grep rdb
-rwxr--r-- 1 myname staff 92B Aug 29 22:44 dump.rdb