Working with a self-signed certificate is much easier, when the browser accepts it.
Warnings from chrome might not be accurate
Even though the certificate is working locally, chrome might still complain that the certificate is not valid and the connection is not secure while blotting out the "https" part of the url.
To accept any self-generated certificate during a session, you can also start chrome with the --ignore-certificate-errors
switch:
google-chrome --ignore-certificate-errors &
Warning
This flag should not be used in general or for browsing the internet. You will also see a warning in the browser:
"You are using an unsupported command-line flag: --ignore-certificate-errors. Stability and security will suffer."