Hi,
I am trying to use Recorder with my https based site to generate code for a simple scenario which is to visit SignIn page (On which I have username and password fields along with the Sign In button).
Changed settings to use a proxy on localhost:8000.
Imported the certificate into Java Key Store (cacerts in JAVA_HOME JDK) and using the “Provided Keystore” method.
But getting SSLException for “no cipher suites in common”.
Please suggest.
Either your server uses old ciphers that Java no longer supports because they are highly unsecured.
Or the other way around: you use modern ciphers but use an old JDK that doesn’t support them.
If you can provide a public access to the website you’re recording, I can get a look.
Otherwise, there’s nothing I can do and you’ll have to investigate by your own.
Hi Stephane,
Thanks for the quick reply.
Trying with the JDK 1.8.0.111 and even for the https://www.google.com, I am getting this exception.
I have provided Keystore as cacerts from C:\Program Files\Java\jdk1.8.0_111\jre\lib\security folder with password changeit.
Also changed settings to use a proxy on localhost:8000.
Thanks
I’m pretty sure you don’t have the same issue with google.com.
The one you have with google.com is you cannot use a the default self-signed certificate mode, see doc.
Please provide a simple way to reproduce your problem.
Step1: In Firefox, configuring Manual Proxy with host as 127.0.0.1 and port as 8000
Step 2: In Recorder, Listening port as 8000, HTTPS Mode as Provided Keystore,
Keystore File as “C:\Program Files\Java\jdk1.8.0_111\jre\lib\security\cacerts”, Keystore password as “changeit”, Keystore Type as “JKS”
The demo site “http://computer-database.gatling.io” is working fine, but trying https based site like https://www.google.com it throws Exception for “no cipher suites in common”.
Please properly read the doc and my messages. You need on-the-fly certs for google.com.
Just as I said, read the doc and use the “On-the-fly certificate generation”
Now it’s working, I was missing one step of importing generated CA into the browser.
Thank you very much for your time. I really appreciate it.