Fixed an issue with an SSH read

Fixed an issue with an SSH read in the client certificate generation function causing it to fail.