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

Reply via email to