I have been running a mod_tile + Mapnik + Renderd + PGSQL solution to host local OSM tiles, as described in the switch2osm guides. I recently put a lot of time in recoding my project to a Tomcat based solution, but want to now move map tile rendering away from Apache2. If possible maybe have the Carto CSS / Renderd element handled in the Tomcat/Java.
Also because with both APIs are using unsigned localhost HTTPS certs, when using OpenLayers it fails TLS handshake to Apache2 unless I open a new tab and select continue anyway.
What is the best way to do this?
I have been reading up on JOSM & OSMAPI Java documemtation, but neither of those really look to cover the tile generation much - only the editing of maps. There is also JkMount, but that would still require Apache2 to be installed.