I don't mind it, but perhaps review java certificate management practices? When run in geosever or other web application their may be a keystore (rather than a keyfile). -- Jody Garnett
On Mon, 10 Sep 2018 at 05:15, Rémi Desgrange <remi.desgra...@fibrea.net> wrote: > Hi, > > I’d like to add support for SSL in PostgreSQL connection. The JIRA issue > is here https://osgeo-org.atlassian.net/browse/GEOS-8915 > > Can I submit a PR ? This fix should be easy to implement. But I can also > add more complexes options to support all kind of options you pass in a > query string of PostgreSQL DSN (like ApplicationName which doesn’t seem to > be set?) > > Also do you ever consider using pg_service.conf file ? This is another > topic and I can open another issue for this, but I didn’t find anything on > google about this and pg_service.conf file are super convenient when it > comes to server deployment. > > > Basicaly I’ll modify the PostgisNGDataStoreFactory class ( > https://github.com/geotools/geotools/blob/master/modules/plugin/jdbc/jdbc-postgis/src/main/java/org/geotools/data/postgis/PostgisNGDataStoreFactory.java) > and add 4 options : > • Sslmode > • Sslcertfile > • Sslkeyfile > • Sslcafile > > What do you think about it? > > Sincerly, Rémi Desgrange > > > > > > _______________________________________________ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel >
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel