Artillery: Disable SSL verification

Created on 18 Aug 2015  路  4Comments  路  Source: artilleryio/artillery

Hello. Loving this tool.

How can I configure it to not validate SSL certs. I am using self-signed certs in our staging environment.

All requests are errors - DEPTH_ZERO_SELF_SIGNED_CERT.

Thank you!

question

Most helpful comment

Hi. Working perfectly! Thank you for the fast update.

--insecure and "rejectUnauthorized": false work. --k gave me error: unknown option--k`.

All 4 comments

Hi @CaseyBurnsSv, glad to hear you're enjoying Minigun! We have actually just implemented this in minigun-core - https://github.com/artilleryio/minigun-core/issues/5. I'll push a new release to npm later today. :)

@CaseyBurnsSv I just published Minigun 0.0.15 which now has the --k (or --insecure - just like curl) option to disable validation. Alternatively, validation can be disabled in the test script with:

{
  "config": {
    "target": "https://myapp.staging:3002",
    "tls": {
      "rejectUnauthorized": false
    }
    // ... 
  },
  "scenarios": [
    // ... 
  ]
}

Give it a go and let me know what you think.

And speaking of environments - if you have any thoughts on environment support, please share them here: https://github.com/artilleryio/minigun/issues/2. :)

Hi. Working perfectly! Thank you for the fast update.

--insecure and "rejectUnauthorized": false work. --k gave me error: unknown option--k`.

Guys thank you very much made my day --insecure works well

Was this page helpful?
0 / 5 - 0 ratings