For my development environment, the following three SSL files allow me to access my application from https://localhost on my local machine.
- Private key:
server.key
- Certificate signing request:
server.csr
- Self-signed certificate:
server.crt
Is it safe to publish these files (publicly) to Github?
Of course, for the production environment, I'd use different SSL files and keep them private.
https://localhost
on their local machines (without having to recreate all those files).