adding secure.js environment option, reverting production.js, and adding openssl options to gen-certs