Fix unverified SSL certificate connection

I was having trouble publishing Jenkins results to a Stash repo with a self-certified SSL. This change to the code fixes it.