Setup Local Testing

Ok thanks. How do I get a SSL certificate for testing and where do I need to put it?