Extensions Boilerplate generate_local_ssl.sh

The script only works on Darwin it would seem. AKA Mac.

Since you are working on Ubuntu you might want to use https://letsencrypt.org/ to generate (if your VM is web accessable) and apply that cert to apache/nginx or https://ngrok.com/ to SSL terminate instead.

That would save faffing about with self signed certs