Fix keyfile being only defined, when using client cert

Use only client cert, when in use
Merge pull request #61 from asdil12/release/pebbles/master

Fix keyfile being only defined, when using client cert