# Setting Keystore Values without Gatling.conf

**URL:** <https://community.gatling.io/t/setting-keystore-values-without-gatling-conf/8623>\
**Category:** Gatling (Open-Source)\
**Created:** [January 12, 2024, 1:00pm UTC](https://community.gatling.io/t/setting-keystore-values-without-gatling-conf/8623 "2024-01-12T13:00:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayasri](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Jayasri](https://community.gatling.io/u/Jayasri)\
**Post date:** [January 12, 2024, 1:00pm UTC](https://community.gatling.io/t/setting-keystore-values-without-gatling-conf/8623/1 "2024-01-12T13:00:36Z")

</div>

In Gatling, we are having an issue from the compliance teams for putting keystore/truststore files along with password in Gatling.conf and resources directory. Is there a way to externalize the files along with the password or other than setting it in Gatling.conf? Can we set these in our cicd pipelines? We are using Azure devops and latest version of Gatling.

---

<div class="post-metadata">

**Author:** ![sbrevet](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/sbrevet/32/830_2.png) [@sbrevet](https://community.gatling.io/u/sbrevet)\
**Post date:** [January 12, 2024, 2:36pm UTC](https://community.gatling.io/t/setting-keystore-values-without-gatling-conf/8623/2 "2024-01-12T14:36:36Z")

</div>

Hi @Jayasri,

All settings in `gatling.conf` should be overridable from arguments in command line with Java setting properties.

For instance:

```console
mvn gatling:test -Dgatling.data.console.light=true

```

will change the corresponding settings and the console won’t display metrics for individual request.  
I bet that this will work for `gatling.ssl.keyStore.file` and `gatling.ssl.keyStore.password`.

Cheers!

---

<div class="post-metadata">

**Author:** ![Jayasri](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Jayasri](https://community.gatling.io/u/Jayasri)\
**Post date:** [January 19, 2024, 10:24am UTC](https://community.gatling.io/t/setting-keystore-values-without-gatling-conf/8623/3 "2024-01-19T10:24:45Z")

</div>

Hi @sbrevet ,

It worked!! Thanks a lot!! 🙂  
-Jayasri

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [February 18, 2024, 10:25am UTC](https://community.gatling.io/t/setting-keystore-values-without-gatling-conf/8623/4 "2024-02-18T10:25:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
