Certificate fix (had to make hostname = localhost )