Add more checks for copying client certificate
Merge pull request #11 from CVL-GitHub/master

Add more checks for copying client certificate