iOS compatible client cert

Added a function to create  iOS compatible client cert