Search code examples
postgresqlsslherokupostgisgeoserver

Heroku - Disable Postgresql SSL?


I have a PostGIS database on Heroku and I want to connect my external GeoServer to it. I can't do it because Geoserver does not support SSL and Heroku requires it.

Is there any way of disabling Heroku postgres SSL?

Thanks in advance


Solution

  • The simplified GeoServer UI does not allow to configure SSL connections, but you can setup a JNDI connection pool and provide all JDBC parameters you want that way:

    http://docs.geoserver.org/stable/en/user/tutorials/tomcat-jndi/tomcat-jndi.html#configuring-a-postgresql-connection-pool