code for ssl certificate