Hello sebb, Gave it another try, still have to manually enter URL for github.global.ssl.fastly.net and accept certificate, same for collector.githubapp.com' I am using FF 24.0 on Mac OSX 10.6.8 or 10.8.5
By the way I noticed another potential issue, If I hard code java path to a jdk7 but don't set JAVA_HOME to it, then keytool runs with JDK6 (because it's the one in the path), should we check this ? Logs: 2013/10/04 04:41:14 WARN - jmeter.protocol.http.proxy.ProxyControl: Could not open/read key store /data/decathlon/workspace/jmeter/bin/proxyserver.jks (No such file or directory) 2013/10/04 04:41:14 INFO - jmeter.protocol.http.proxy.ProxyControl: Creating Proxy CA in /data/decathlon/workspace/jmeter/bin/proxyserver.jks 2013/10/04 04:41:17 INFO - jmeter.protocol.http.proxy.ProxyControl: Created keystore in /data/decathlon/workspace/jmeter/bin/proxyserver.jks 2013/10/04 04:41:17 INFO - jmeter.protocol.http.proxy.ProxyControl: Creating entry github.global.ssl.fastly.net in /data/decathlon/workspace/jmeter/bin/proxyserver.jks 2013/10/04 04:41:19 INFO - jmeter.protocol.http.proxy.ProxyControl: Creating entry github.com in /data/decathlon/workspace/jmeter/bin/proxyserver.jks 2013/10/04 04:41:21 INFO - jmeter.protocol.http.proxy.Daemon: Creating Daemon Socket on port: 8888 2013/10/04 04:41:21 INFO - jmeter.protocol.http.proxy.Daemon: Proxy up and running! 2013/10/04 04:41:33 INFO - jmeter.protocol.http.proxy.ProxyControl: [53076] Creating entry www.google.com in /data/decathlon/workspace/jmeter/bin/proxyserver.jks 2013/10/04 04:41:36 WARN - jmeter.protocol.http.proxy.Proxy: [53076] Problem with SSL certificate for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:41:43 WARN - jmeter.protocol.http.proxy.Proxy: [53077] Problem with SSL certificate for 'github.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:41:47 WARN - jmeter.protocol.http.proxy.Proxy: [53078] Problem with SSL certificate for 'github.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:41:50 WARN - jmeter.protocol.http.proxy.Proxy: [53082] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:41:50 WARN - jmeter.protocol.http.proxy.Proxy: [53088] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:41:50 WARN - jmeter.protocol.http.proxy.Proxy: [53086] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:41:50 WARN - jmeter.protocol.http.proxy.Proxy: [53087] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:37 WARN - jmeter.protocol.http.proxy.Proxy: [53108] Problem with SSL certificate for 'github.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:42 WARN - jmeter.protocol.http.proxy.Proxy: [53109] Problem with SSL certificate for 'github.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:45 WARN - jmeter.protocol.http.proxy.Proxy: [53112] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:45 WARN - jmeter.protocol.http.proxy.Proxy: [53114] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:45 WARN - jmeter.protocol.http.proxy.Proxy: [53116] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:45 WARN - jmeter.protocol.http.proxy.Proxy: [53115] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:45 WARN - jmeter.protocol.http.proxy.Proxy: [53117] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:58 WARN - jmeter.protocol.http.proxy.Proxy: [53132] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:58 WARN - jmeter.protocol.http.proxy.Proxy: [53134] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:58 WARN - jmeter.protocol.http.proxy.Proxy: [53135] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:44:58 WARN - jmeter.protocol.http.proxy.Proxy: [53136] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:45:11 WARN - jmeter.protocol.http.proxy.Proxy: [53148] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:45:15 WARN - jmeter.protocol.http.proxy.Proxy: [53149] Problem with SSL certificate for 'github.global.ssl.fastly.net'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:45:27 WARN - jmeter.protocol.http.proxy.Proxy: [53165] Problem with SSL certificate for 'ssl.google-analytics.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca 2013/10/04 04:45:28 WARN - jmeter.protocol.http.proxy.Proxy: [53160] Empty request, ignored 2013/10/04 04:45:29 WARN - jmeter.protocol.http.proxy.Proxy: [53167] Problem with SSL certificate for 'collector.githubapp.com'? Ensure browser is set to accept the JMeter proxy cert: Received fatal alert: unknown_ca Regards Philippe On Thu, Oct 3, 2013 at 7:05 PM, sebb <[email protected]> wrote: > On 3 October 2013 14:28, Philippe Mouawad <[email protected]> > wrote: > > Hello sebb, > > You can do the test just call https://github.com > > I had some problems initially, but after removing proxyserver.jks it > all seems to work OK. > > I've updated the code with better logging; also the validity of the > root CA is now checked. > > Please try again. > > > Regards > > Philippe > > > > > > On Thu, Oct 3, 2013 at 2:45 PM, sebb <[email protected]> wrote: > > > >> On 1 October 2013 22:14, Philippe Mouawad <[email protected]> > >> wrote: > >> > Hello, > >> > Testing new Proxy recording on github, I finally managed to record but > >> this > >> > time it was not as easy as for other websites: > >> > > >> > I finally succeeded by calling in browser: > >> > - https://ssl.fastly.net and accepting jmeter certificate > >> > - collector.githubapp.com and accepting jmeter certificate > >> > > >> > Just adding this in HTTPS Domain was not enough: > >> > github.global.ssl.fastly.net,*.github.com, > github.global.ssl.fastly.net, > >> > collector.githubapp.com,ssl.google-analytics.com > >> > >> Why not use domains for them all? > >> > >> *.fastly.net > >> *.github.com > >> *.githubapp.com > >> *.google-analytics.com > >> > >> > Is this what was expected ? > >> > I would have thought accepting JMeter CA would be enough > >> > > >> > Am I missing something ? > >> > >> Presumably. > >> > >> What URLs did you visit? > >> > >> What does the jmeter log say? > >> It should report warnings for missing certificates; if no extra logs > >> or changed levels may be needed. > >> > >> > By the way, before release we need to finish this: > >> > - Document the changes made on JMeter Proxy Server > >> > - Rename it > >> > - Update screenshots for changes and maybe reference documentation > >> > > >> > Regards > >> > Philippe > >> > > > > > > > > -- > > Cordialement. > > Philippe Mouawad. > -- Cordialement. Philippe Mouawad.
