Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of SSL certs in pg_service #961

Open
cymed opened this issue Sep 23, 2024 · 2 comments
Open

Usage of SSL certs in pg_service #961

cymed opened this issue Sep 23, 2024 · 2 comments

Comments

@cymed
Copy link

cymed commented Sep 23, 2024

Suppose we have a service defined in the pg_service.conf such as

[myservice]
host=remotehost
port=5432
dbname=mydb
sslrootcert=path_to_sslrootcert
sslcert=path_to_sslcert
sslkey=path_to_sslkey
sslmode=verify-full

When using this service in model baker (i.e. to export an xtf), the sslrootcert, sslcert and sslkey are ignored and Model Baker requires to add the user info that might be inside the cert.

@cymed cymed changed the title SSL certs are dropped Usage of SSL certs in pg_service Sep 23, 2024
@signedav
Copy link
Member

signedav commented Sep 24, 2024

Out of curiosity: is that read when adding a QGIS layer with a service?

@cymed
Copy link
Author

cymed commented Sep 24, 2024

Out of curiosity: is that read when adding a QGIS layer with a service?

Yes it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants