New answers tagged openssl
Yes, you can generate one yourself but visitors will get a warning when visiting your website. There are also a few companies who offer free SSL certificates: try StartSSL.
When I want test a SSL connection with a website I use openssl Generate the key openssl genrsa -out server.key 1024 Generate csr file openssl req -new -key server.key -out server.csr Generate the certificate openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt And now you can use with Apache
Even if you generate your own key/certificate pair, it doesn't mean your webhost will let you use it to serve HTTPS pages. They'd still have to enable it in their server config, and I highly doubt a free service will do that for you. This question has a few answers elaborating on why.
Top 50 recent answers are included