Apart from self-signed certificate seems you are running apache ? Looks like you have other issues too
See previous topics that my method worked