Gatling recorder keystore configuration

I am trying to record https. Followed the instructions on Recorder page and created certificate and keystore. Imported the certificate in browser

For the part “Configure the recorder to use the custom java keystore - gatling-custom.jks”, I changed the following in recorder.bat but it didn’t work

set JAVA_OPTS=-Xms512M -Xmx512M -Xmn100M -Dgatling.recorder.keystore.path="%GATLING_HOME%\"conf -Dgatling.recorder.keystore.passphrase=gatling %JAVA_OPTS%

What did I do wrong?

gatling.recorder.keystore.path must point to a file, not a directory.