Extract the code
Fix city

And remove unnecessary code
Get certs work on one place
Clean code
Remove unused code
Make sure certs are deployed before httpd starts