CONN-263: Fix for saving certs.
Merge pull request #45 from msweaver/CONN-231

CONN-263: Fix for saving certs.