Hi Remi, yes please go ahead :-) Cheers Andrea
On Mon, Sep 10, 2018 at 2:17 PM 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 > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel