gonzalo@lalo:~ $ wget https://localhost:8080/
--13:25:17-- https://localhost:8080/
=> `index.html.1'
Resolving localhost... 127.0.0.1, ::1
Connecting to localhost|127.0.0.1|:8080... connected.
ERROR: Certificate verification error for localhost: self signed certificate
ERROR: certificate common name `test' doesn't match requested host name `localhost'.
To connect to localhost insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
gonzalo@lalo:~ $ wget --no-check-certificate https://localhost:8080/
--13:26:04-- https://localhost:8080/
=> `index.html.1'
Resolving localhost... 127.0.0.1, ::1
Connecting to localhost|127.0.0.1|:8080... connected.
WARNING: Certificate verification error for localhost: self signed certificate
WARNING: certificate common name `test' doesn't match requested host name `localhost'.
HTTP request sent, awaiting response... 404 Not Found
13:26:05 ERROR 404: Not Found.