Closed tjbo closed 5 years ago
@knicklabs , I couldn't find a way to check if openssl is installed.
I think I will just add a note to install instructions that openssl is a dependency.
I'm not giving up on it, but maybe run it like this for a bit and see if it's a solvable problem.
I couldn't find a way to check if openssl is installed.
@tjbo you could do:
if (!shell.which('openssl')) {
shell.echo('This script requires OpenSSL. Please install it and try again.')
shell.exit(1)
}
You can also check the OpenSSL version with openssl version
if you require some specific version.
Perfecto!
This PR adds an install function to ProxyPack:
previously there was a lot of difficulty in managing SSL certs in ProxyPack, and for a while it hasn't worked flawlessly in all web browsers because of this
this solves that problem by creating our own certificate authority with openssl
then self signing all the certs we need
this then installs the CA in keychain, so that the client will trust it automatically (macosx)
this makes the install process, super easy, reproduce-able, and also the certs specific to each local machine