Skip to content

Commit

Permalink
#72 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Jan 4, 2013
1 parent ce0b365 commit 56f0264
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/docs/index.md
Expand Up @@ -277,6 +277,9 @@ When using the Betamax proxy these additional properties are available:
`sslSupport`
: if set to `true` the Betamax proxy will also intercept HTTPS traffic.

`sslSocketFactory`
: the instance of `org.apache.http.conn.ssl.SSLSocketFactory` that the Betamax proxy will use to connect to the target when using HTTPS. By default Betamax will use its own socket factory with a self-signed certificate but if you are connecting to a server that has more stringent security requirements or needs SSL authentication you can override this.

If you have a file called `BetamaxConfig.groovy` or `betamax.properties` somewhere in your classpath it will be picked up by the `Recorder` class.

### Example _BetamaxConfig.groovy_ script
Expand All @@ -290,6 +293,7 @@ If you have a file called `BetamaxConfig.groovy` or `betamax.properties` somewhe
ignoreHosts = ['localhost', '127.0.0.1']
ignoreLocalhost = false
sslSupport = false
sslSocketFactory = new SSLSocketFactory(myTrustStore)
}

### Example _betamax.properties_ file
Expand Down

0 comments on commit 56f0264

Please sign in to comment.