This has been solved for years and you should have been making a cert to do it over https anyways like a good lad.

That safari allows it is not a good thing.