james icon indicating copy to clipboard operation
james copied to clipboard

HTTPs wizard

Open mitchhentges opened this issue 10 years ago • 10 comments

In the top bar, beside "URL Mappings", allow users to launch a modal that will allow them to setup the HTTPs requirements in-app. The wizard should:

  1. Automatically generate the two SSL files. Progress bar?
  2. Provide a convenient link to open the SSL certificate's location in a file manager
  3. Explain that the certificate needs to be imported into browsers that will use the proxy
  4. "Done" button at the bottom.

Alright, maybe the term "wizard" is a little too 90's to describe this feature, but ¯\_(ツ)_/¯

mitchhentges avatar Jan 21 '16 19:01 mitchhentges

The 2010's term is "guide", I imagine. :wink:

Definitely a good idea. Thinking there should also be a message under/above the browser list warning that HTTPS proxying is disabled, with a [Setup HTTPS] button.

Not 100% sure about adding it to the top bar though, seems more suited for a settings window, y'know?

tomitm avatar Feb 16 '16 02:02 tomitm

Good idea, but this guide will differ from OS to OS. In OSX for example I need to import the cert into my Keychain and then set the cert to "trust always"

nerdbeere avatar Feb 16 '16 08:02 nerdbeere

So, what is the way to do this at the moment? Added certs to keychain, set as always trust, imported into firefox both after starting from james and before. James and both cert files in same folder and all that jazz as well. Tried with chrome and safari with no luck :)

Maybe it's time for the "Wizard" ? ;)

kokarn avatar Mar 21 '16 14:03 kokarn

What part of it doesn't work? I'm assuming that you followed the wiki?. All that the wizard will do is generate the .key and .pem files. After that, it's up to the user to apply the certificates to each browser/os, because that's a complicated problem to solve programmatically.

mitchhentges avatar Mar 21 '16 17:03 mitchhentges

Yeah that's true. Might be a lot of work for every browser + os combo.

Yeah I followed the wiki but I get different results in different browsers.

Firefox just doesn't proxy anything. Requests work but nothing appears in James. Same with Safari. Chrome was unable to connect at all.

kokarn avatar Mar 21 '16 21:03 kokarn

Can you create a new issue with screen shot and more details, per browser?

Did you launch the browser via James? What if you use your browser like normal, but change your proxy settings manually?

It should be working, but if you generated your key and certificate OK, then the wizard won't be able to help On Mar 21, 2016 10:05 PM, "Oskar Risberg" [email protected] wrote:

Yeah that's true. Might be a lot of work for every browser + os combo.

Yeah I followed the wiki but I get different results in different browsers.

Firefox just doesn't proxy anything. Requests work but nothing appears in James. Same with Safari. Chrome was unable to connect at all.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/james-proxy/james/issues/43#issuecomment-199486111

mitchhentges avatar Mar 21 '16 21:03 mitchhentges

Has anyone been able to get HTTPs/SSL working on Mac?

jariangibson avatar Jun 07 '16 17:06 jariangibson

Yes, I think so. I'll be able to test again in a few hours.

Anything in particular not working? On Jun 7, 2016 7:35 PM, "Jarian Gibson" [email protected] wrote:

Has anyone been able to get HTTPs/SSL working on Mac?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/james-proxy/james/issues/43#issuecomment-224355661, or mute the thread https://github.com/notifications/unsubscribe/AHbJIS7osEbPFueuu4Wbl9BxX0A2tWrzks5qJavwgaJpZM4HJx09 .

mitchhentges avatar Jun 07 '16 18:06 mitchhentges

I create the certs, import in keychain & trust, & put in package contents where app executable is but no luck.

jariangibson avatar Jun 07 '16 19:06 jariangibson

The HTTPs/SSL not working was reported and fixed as per #221

mitchhentges avatar Jun 07 '16 23:06 mitchhentges