How to create a valid self signed SSL Certificate?